Fix c-family.kak static_words definition
This commit is contained in:
parent
55f857dd2b
commit
2729042f83
|
@ -168,7 +168,7 @@ evaluate-commands %sh{
|
||||||
|
|
||||||
# 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=c %{
|
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
|
# Highlight keywords
|
||||||
|
@ -218,7 +218,7 @@ evaluate-commands %sh{
|
||||||
|
|
||||||
# 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=cpp %{
|
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
|
# Highlight keywords
|
||||||
|
@ -260,7 +260,7 @@ evaluate-commands %sh{
|
||||||
|
|
||||||
# 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=objc %{
|
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
|
# Highlight keywords
|
||||||
|
|
Loading…
Reference in New Issue
Block a user