Fix hook declarations

This commit is contained in:
Frank LENORMAND 2016-03-25 21:31:01 +02:00
parent 4bb5658206
commit 464007e332
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ addhl -group /makefile/content regex [+?:]= 0:operator
keywords="ifeq|ifneq|else|endif" keywords="ifeq|ifneq|else|endif"
# Add the language's grammar to the static completion list # 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}' set window static_words '${keywords}'
}" | sed 's,|,:,g' }" | sed 's,|,:,g'

View File

@ -24,7 +24,7 @@ addhl -group /sh/comment fill comment
keywords="${keywords}|time|type|typeset|ulimit|unalias|until|while" keywords="${keywords}|time|type|typeset|ulimit|unalias|until|while"
# Add the language's grammar to the static completion list # 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}' set window static_words '${keywords}'
}" | sed 's,|,:,g' }" | sed 's,|,:,g'