mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 15:23:29 +03:00
update kakrc highlight, add alias/unalias
This commit is contained in:
parent
71197c4641
commit
16bb1b4835
@ -8,7 +8,7 @@ addhl -group / regions -default code kakrc \
|
||||
single_string %{(^|\h)'} %{(?<!\\)(\\\\)*'} '' \
|
||||
shell '%sh\{' '\}' '\{'
|
||||
|
||||
addhl -group /kakrc/code regex \<(hook|rmhooks|addhl|rmhl|add|exec|eval|source|runtime|def|decl|echo|edit|set|map|face|prompt|menu|info|try|catch|nameclient|namebuf|cd)\> 0:keyword
|
||||
addhl -group /kakrc/code regex \<(hook|rmhooks|addhl|rmhl|exec|eval|source|runtime|def|alias|unalias|decl|echo|edit|set|map|face|prompt|menu|info|try|catch|nameclient|namebuf|cd)\> 0:keyword
|
||||
addhl -group /kakrc/code regex \<(default|black|red|green|yellow|blue|magenta|cyan|white|(?:rgb:[0-9a-fA-F]{6}))\> 0:value
|
||||
addhl -group /kakrc/code regex (?:\<hook)\h+(?:(global|buffer|window)|(\S+))\h+(\S+)\h+(\S+)? 1:attribute 2:error 3:identifier 4:string
|
||||
addhl -group /kakrc/code regex (?:\<set)\h+(?:(global|buffer|window)|(\S+))\h+(\S+)\h+(\S+)? 1:attribute 2:error 3:identifier 4:string
|
||||
|
Loading…
Reference in New Issue
Block a user