tupfile.kak: regex escaping cleanup
This commit is contained in:
parent
68fb3ba88f
commit
6ce248b59c
|
@ -18,13 +18,13 @@ add-highlighter shared/ regions -default code tupfile \
|
||||||
add-highlighter shared/tupfile/string fill string
|
add-highlighter shared/tupfile/string fill string
|
||||||
add-highlighter shared/tupfile/comment fill comment
|
add-highlighter shared/tupfile/comment fill comment
|
||||||
|
|
||||||
add-highlighter shared/tupfile/code regex "\%[fbBeoOdg]\b" 0:value
|
add-highlighter shared/tupfile/code regex '%[fbBeoOdg]\b' 0:value
|
||||||
add-highlighter shared/tupfile/code regex "[$@]\([\w_]+\)" 0:value
|
add-highlighter shared/tupfile/code regex '[$@]\([\w_]+\)' 0:value
|
||||||
add-highlighter shared/tupfile/code regex "^\h*:\s*(foreach)\b" 1:keyword
|
add-highlighter shared/tupfile/code regex '^\h*:\s*(foreach)\b' 1:keyword
|
||||||
add-highlighter shared/tupfile/code regex "^\h*(\.gitignore)\b" 1:keyword
|
add-highlighter shared/tupfile/code regex '^\h*(\.gitignore)\b' 1:keyword
|
||||||
add-highlighter shared/tupfile/code regex "^\h*\b(ifn?eq|ifn?def|else|endif|error|include|include_rules|run|preload|export)\b" 0:keyword
|
add-highlighter shared/tupfile/code regex '^\h*\b(ifn?eq|ifn?def|else|endif|error|include|include_rules|run|preload|export)\b' 0:keyword
|
||||||
add-highlighter shared/tupfile/code regex "^\h*\b(&?[\w_]+)\s*[:+]?=" 1:keyword
|
add-highlighter shared/tupfile/code regex '^\h*\b(&?[\w_]+)\s*[:+]?=' 1:keyword
|
||||||
add-highlighter shared/tupfile/code regex "`[^`\n]+`" 0:meta
|
add-highlighter shared/tupfile/code regex '`[^`\n]+`' 0:meta
|
||||||
|
|
||||||
# Initialization
|
# Initialization
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
Loading…
Reference in New Issue
Block a user