diff --git a/rc/base/makefile.kak b/rc/base/makefile.kak index db005ee4..627fec6a 100644 --- a/rc/base/makefile.kak +++ b/rc/base/makefile.kak @@ -27,7 +27,7 @@ addhl -group /makefile/content regex [+?:]= 0:operator keywords="ifeq|ifneq|else|endif" # Add the language's grammar to the static completion list - printf %s "hook global WinSetOption filetype=makefile %{ + printf %s\\n "hook global WinSetOption filetype=makefile %{ set window static_words '${keywords}' }" | sed 's,|,:,g' diff --git a/rc/core/sh.kak b/rc/core/sh.kak index facf40ca..62206e2b 100644 --- a/rc/core/sh.kak +++ b/rc/core/sh.kak @@ -24,7 +24,7 @@ addhl -group /sh/comment fill comment keywords="${keywords}|time|type|typeset|ulimit|unalias|until|while" # Add the language's grammar to the static completion list - printf %s "hook global WinSetOption filetype=sh %{ + printf %s\\n "hook global WinSetOption filetype=sh %{ set window static_words '${keywords}' }" | sed 's,|,:,g'