tweak kakrc highlighting
This commit is contained in:
parent
4dc333c8b3
commit
7c69d170df
|
@ -4,9 +4,9 @@ hook global BufCreate (.*/)?(kakrc|.*.kak) %{
|
|||
|
||||
hook global WinSetOption filetype=kak %{
|
||||
addhl group kak-highlight
|
||||
addhl -group kak-highlight regex \<(hook|addhl|rmhl|addfilter|rmfilter|exec|source|runtime|def|echo|edit|set[gbw])\> 0:green
|
||||
addhl -group kak-highlight regex \<(hook|addhl|rmhl|addfilter|rmfilter|exec|source|runtime|def|echo|edit|set[gbw])\> 0:keyword
|
||||
addhl -group kak-highlight regex \<(default|black|red|green|yellow|blue|magenta|cyan|white)\> 0:value
|
||||
addhl -group kak-highlight regex (?<=\<hook)\h+((global|buffer|window)|(\S+))\h+(\S+)\h+(\H+) 2:attribute 3:error 4:cyan 5:string
|
||||
addhl -group kak-highlight regex (?<=\<hook)\h+((global|buffer|window)|(\S+))\h+(\S+)\h+(\H+) 2:attribute 3:error 4:identifier 5:string
|
||||
addhl -group kak-highlight regex (?<=\<regex)\h+(\S+) 1:string
|
||||
addhl -group kak-highlight regex (["'])(?:\\\1|.)*?\1 0:string
|
||||
addhl -group kak-highlight regex (?<=\<set[gbw])\h+(\S+)\h+(\S+) 1:identifier 2:value
|
||||
|
|
Loading…
Reference in New Issue
Block a user