1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 13:02:01 +03:00

go-tools.kak: Fix go-disable-autocomplete

As described in #2191
This commit is contained in:
Maxime Coste 2018-07-08 21:02:51 +10:00
parent 79ec8d0010
commit 2659912220

View File

@ -51,7 +51,7 @@ define-command go-enable-autocomplete -docstring "Add gocode completion candidat
}
define-command go-disable-autocomplete -docstring "Disable gocode completion" %{
set-option window completers %sh{ printf %s\\n "'${kak_opt_completers}'" | sed 's/option=gocode_completions://g' }
set-option window completers %sh{ printf %s\\n "${kak_opt_completers}" | sed "s/'option=gocode_completions'//g" }
remove-hooks window go-autocomplete
unalias window complete go-complete
}