From 2729042f83493d76cc9b135c45f326eaf878bec4 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 31 May 2018 20:58:53 +1000 Subject: [PATCH] Fix c-family.kak static_words definition --- rc/core/c-family.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 2b888f70..6cff4ab7 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -168,7 +168,7 @@ evaluate-commands %sh{ # Add the language's grammar to the static completion list printf '%s\n' "hook global WinSetOption filetype=c %{ - set-option window static_words '$(join "${keywords}:${attributes}:${types}:${values}" ':')' + set-option window static_words $(join "${keywords} ${attributes} ${types} ${values}" ' ') }" # Highlight keywords @@ -218,7 +218,7 @@ evaluate-commands %sh{ # Add the language's grammar to the static completion list printf %s\\n "hook global WinSetOption filetype=cpp %{ - set-option window static_words '$(join "${keywords}:${attributes}:${types}:${values}" ':')' + set-option window static_words $(join "${keywords} ${attributes} ${types} ${values}" ' ') }" # Highlight keywords @@ -260,7 +260,7 @@ evaluate-commands %sh{ # Add the language's grammar to the static completion list printf %s\\n "hook global WinSetOption filetype=objc %{ - set-option window static_words '$(join "${keywords}:${attributes}:${types}:${values}:${decorators}" ':')' + set-option window static_words $(join "${keywords} ${attributes} ${types} ${values} ${decorators}" ' ') }" # Highlight keywords