Merge remote-tracking branch 'danr/Remove-ad-hoc-rules-in-kakrc-highlighter'

This commit is contained in:
Maxime Coste 2017-06-03 15:16:49 +01:00
commit d8a90ad5d3

View File

@ -51,9 +51,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