mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-26 16:36:49 +03:00
Merge remote-tracking branch 'lobre/fix-gopls-def-integration'
This commit is contained in:
commit
084fc5eb5a
@ -69,7 +69,7 @@ define-command -hidden -params 1 gopls-cmd %{
|
||||
define-command -hidden -params 0 gopls-def %{
|
||||
evaluate-commands %sh{
|
||||
jump=$( gopls definition "${kak_buffile}:${kak_cursor_line}:${kak_cursor_column}" 2> /dev/null \
|
||||
|sed -e 's/-.*//; s/:/ /g; q' )
|
||||
|sed -e 's/-[0-9]\+:.*//; s/:/ /g; q' )
|
||||
if [ -n "${jump}" ]; then
|
||||
printf %s\\n "evaluate-commands -try-client '${kak_opt_jumpclient}' %{
|
||||
edit ${jump}
|
||||
|
Loading…
Reference in New Issue
Block a user