From 4cfa4062bc1c0e0ae5b6c54782b7a3818cc6b423 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 10 Jan 2017 13:48:04 +0000 Subject: [PATCH] Add '-' as completion extra word character for kakrc files --- rc/core/kakrc.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/core/kakrc.kak b/rc/core/kakrc.kak index 1fd30039..91638a58 100644 --- a/rc/core/kakrc.kak +++ b/rc/core/kakrc.kak @@ -27,6 +27,7 @@ add-highlighter -group / regions -default code kakrc \ # Add the language's grammar to the static completion list printf %s\\n "hook global WinSetOption filetype=kak %{ set window static_words '${keywords}:${values}' + set -- window completion_extra_word_char '-' }" | sed 's,|,:,g' # Highlight keywords