From 464007e33202c1b049b7c04b75df1f97b32de790 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Fri, 25 Mar 2016 21:31:01 +0200 Subject: [PATCH] Fix hook declarations --- rc/base/makefile.kak | 2 +- rc/core/sh.kak | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'