static_words def style tweak in c-family.kak
This commit is contained in:
parent
13ab721f64
commit
8c5d3128ef
|
@ -102,9 +102,7 @@ addhl -group /c/code regex %{\bNULL\b|\b-?(0x[0-9a-fA-F]+|\d+)[fdiu]?|'((\\.)?|[
|
||||||
|
|
||||||
# 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 window static_words '${keywords}'
|
set window static_words '${keywords}:${attributes}:${types}'
|
||||||
set -add window static_words '${attributes}'
|
|
||||||
set -add window static_words '${types}'
|
|
||||||
}" | sed 's,|,:,g'
|
}" | sed 's,|,:,g'
|
||||||
|
|
||||||
# Highlight keywords
|
# Highlight keywords
|
||||||
|
@ -134,10 +132,7 @@ addhl -group /cpp/code regex %{\b-?(0x[0-9a-fA-F]+|\d+)[fdiu]?|'((\\.)?|[^'\\])'
|
||||||
|
|
||||||
# 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 window static_words '${keywords}'
|
set window static_words '${keywords}:${attributes}:${types}:${values}'
|
||||||
set -add window static_words '${attributes}'
|
|
||||||
set -add window static_words '${types}'
|
|
||||||
set -add window static_words '${values}'
|
|
||||||
}" | sed 's,|,:,g'
|
}" | sed 's,|,:,g'
|
||||||
|
|
||||||
# Highlight keywords
|
# Highlight keywords
|
||||||
|
|
Loading…
Reference in New Issue
Block a user