mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-11 01:37:41 +03:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user