Remove ad-hoc rules in kakrc highlighter
These are less useful with more static words, and they are woefully incomplete: no support -docstring for map, set uses the variable face, but there is no corresponding highlighter for decl or %opt{..}.
This commit is contained in:
parent
3a0d9481ac
commit
5f97117ab4
|
@ -38,9 +38,6 @@ add-highlighter -group / regions -default code kakrc \
|
||||||
}
|
}
|
||||||
|
|
||||||
add-highlighter -group /kakrc/code regex \brgb:[0-9a-fA-F]{6}\b 0:value
|
add-highlighter -group /kakrc/code regex \brgb:[0-9a-fA-F]{6}\b 0:value
|
||||||
add-highlighter -group /kakrc/code regex (?:\bhook)\h+(?:-group\h+\S+\h+)?(?:(global|buffer|window)|(\S+))\h+(\S+) 1:attribute 2:Error 3:variable
|
|
||||||
add-highlighter -group /kakrc/code regex (?:\bset)\h+(?:-add)?\h+(?:(global|buffer|window)|(\S+))\h+(\S+) 1:attribute 2:Error 3:variable
|
|
||||||
add-highlighter -group /kakrc/code regex (?:\bmap)\h+(?:(global|buffer|window)|(\S+))\h+(?:(normal|insert|menu|prompt|goto|view|user|object)|(\S+))\h+(\S+) 1:attribute 2:Error 3:attribute 4:Error 5:variable
|
|
||||||
|
|
||||||
add-highlighter -group /kakrc/double_string fill string
|
add-highlighter -group /kakrc/double_string fill string
|
||||||
add-highlighter -group /kakrc/single_string fill string
|
add-highlighter -group /kakrc/single_string fill string
|
||||||
|
|
Loading…
Reference in New Issue
Block a user