style tweak in the static words definitions
This commit is contained in:
parent
a49685d996
commit
a026ebf298
|
@ -54,11 +54,7 @@ addhl -group /dlang/code regex "\<(this)\>\s*[^(]" 1:value
|
|||
|
||||
# Add the language's grammar to the static completion list
|
||||
printf %s "hook global WinSetOption filetype=dlang %{
|
||||
set window static_words '${keywords}'
|
||||
set -add window static_words '${attributes}'
|
||||
set -add window static_words '${types}'
|
||||
set -add window static_words '${values}'
|
||||
set -add window static_words '${decorators}'
|
||||
set window static_words '${keywords}:${attributes}:${types}:${values}:${decorators}'
|
||||
}" | sed 's,|,:,g'
|
||||
|
||||
# Highlight keywords
|
||||
|
|
|
@ -37,10 +37,7 @@ addhl -group /golang/code regex %{-?([0-9]*\.(?!0[xX]))?\<([0-9]+|0[xX][0-9a-fA-
|
|||
|
||||
# Add the language's grammar to the static completion list
|
||||
printf %s "hook global WinSetOption filetype=golang %{
|
||||
set window static_words '${keywords}'
|
||||
set -add window static_words '${attributes}'
|
||||
set -add window static_words '${types}'
|
||||
set -add window static_words '${values}'
|
||||
set window static_words '${keywords}:${attributes}:${types}:${values}'
|
||||
}" | sed 's,|,:,g'
|
||||
|
||||
# Highlight keywords
|
||||
|
|
|
@ -45,9 +45,7 @@ addhl -group /perl/comment fill comment
|
|||
|
||||
# Add the language's grammar to the static completion list
|
||||
printf %s "hook global WinSetOption filetype=perl %{
|
||||
set window static_words '${keywords}'
|
||||
set -add window static_words '${attributes}'
|
||||
set -add window static_words '${values}'
|
||||
set window static_words '${keywords}:${attributes}:${values}'
|
||||
}" | sed 's,|,:,g'
|
||||
|
||||
# Highlight keywords
|
||||
|
|
|
@ -66,10 +66,7 @@ addhl -group /ruby/code regex \<([A-Za-z]\w*:)|([$@][A-Za-z]\w*)|(\W\K:[A-Za-z]\
|
|||
|
||||
# Add the language's grammar to the static completion list
|
||||
printf %s "hook global WinSetOption filetype=ruby %{
|
||||
set window static_words '${keywords}'
|
||||
set -add window static_words '${attributes}'
|
||||
set -add window static_words '${values}'
|
||||
set -add window static_words '${meta}'
|
||||
set window static_words '${keywords}:${attributes}:${values}:${meta}'
|
||||
}" | sed 's,|,:,g'
|
||||
|
||||
# Highlight keywords
|
||||
|
|
|
@ -166,11 +166,7 @@ addhl -group /objc/code regex %{\<-?\d+[fdiu]?|'((\\.)?|[^'\\])'} 0:value
|
|||
|
||||
# Add the language's grammar to the static completion list
|
||||
printf %s "hook global WinSetOption filetype=objc %{
|
||||
set window static_words '${keywords}'
|
||||
set -add window static_words '${attributes}'
|
||||
set -add window static_words '${types}'
|
||||
set -add window static_words '${values}'
|
||||
set -add window static_words '${decorators}'
|
||||
set window static_words '${keywords}:${attributes}:${types}:${values}:${decorators}'
|
||||
}" | sed 's,|,:,g'
|
||||
|
||||
# Highlight keywords
|
||||
|
|
|
@ -17,8 +17,7 @@ addhl -group / regions -default code kakrc \
|
|||
|
||||
# Add the language's grammar to the static completion list
|
||||
printf %s "hook global WinSetOption filetype=kak %{
|
||||
set window static_words '${keywords}'
|
||||
set -add window static_words '${values}'
|
||||
set window static_words '${keywords}:${values}'
|
||||
}" | sed 's,|,:,g'
|
||||
|
||||
# Highlight keywords
|
||||
|
|
|
@ -36,10 +36,7 @@ addhl -group /python/comment fill comment
|
|||
|
||||
# Add the language's grammar to the static completion list
|
||||
printf %s "hook global WinSetOption filetype=python %{
|
||||
set window static_words '${values}'
|
||||
set -add window static_words '${meta}'
|
||||
set -add window static_words '${keywords}'
|
||||
set -add window static_words '${types}'
|
||||
set window static_words '${values}:${meta}:${keywords}:${types}'
|
||||
}" | sed 's,|,:,g'
|
||||
|
||||
# Highlight keywords
|
||||
|
|
Loading…
Reference in New Issue
Block a user