rc tupfile: Fix the keywords regex
This commit is contained in:
parent
e1e3cfaf45
commit
a2be15801f
|
@ -21,8 +21,8 @@ add-highlighter -group /tupfile/comment fill comment
|
||||||
add-highlighter -group /tupfile/code regex "\%[fbBeoOdg]\b" 0:value
|
add-highlighter -group /tupfile/code regex "\%[fbBeoOdg]\b" 0:value
|
||||||
add-highlighter -group /tupfile/code regex "\$\([\w_]+\)" 0:value
|
add-highlighter -group /tupfile/code regex "\$\([\w_]+\)" 0:value
|
||||||
add-highlighter -group /tupfile/code regex ":\s*(foreach)\b" 1:keyword
|
add-highlighter -group /tupfile/code regex ":\s*(foreach)\b" 1:keyword
|
||||||
add-highlighter -group /tupfile/code regex "(\.gitignore\b)" 0:keyword
|
add-highlighter -group /tupfile/code regex "\.gitignore\b" 0:keyword
|
||||||
add-highlighter -group /tupfile/code regex "\bifn?eq|ifn?def|else|endif|error|include|include_rules|run|preload|export\b" 0:keyword
|
add-highlighter -group /tupfile/code regex "\b(ifn?eq|ifn?def|else|endif|error|include|include_rules|run|preload|export)\b" 0:keyword
|
||||||
add-highlighter -group /tupfile/code regex "\b(\&?[\w_]+)\s*[:+]?=" 1:keyword
|
add-highlighter -group /tupfile/code regex "\b(\&?[\w_]+)\s*[:+]?=" 1:keyword
|
||||||
|
|
||||||
# Initialization
|
# Initialization
|
||||||
|
|
Loading…
Reference in New Issue
Block a user