Add '-' as completion extra word character for kakrc files

This commit is contained in:
Maxime Coste 2017-01-10 13:48:04 +00:00
parent 343df600cb
commit 4cfa4062bc

View File

@ -27,6 +27,7 @@ add-highlighter -group / regions -default code kakrc \
# Add the language's grammar to the static completion list # Add the language's grammar to the static completion list
printf %s\\n "hook global WinSetOption filetype=kak %{ printf %s\\n "hook global WinSetOption filetype=kak %{
set window static_words '${keywords}:${values}' set window static_words '${keywords}:${values}'
set -- window completion_extra_word_char '-'
}" | sed 's,|,:,g' }" | sed 's,|,:,g'
# Highlight keywords # Highlight keywords