mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-19 01:11:36 +03:00
kakrc: add support for kakrc file highlighting
This commit is contained in:
parent
6d84ba4b72
commit
fea81e1378
@ -3,3 +3,7 @@ hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addfilter preserve_indent
|
|||||||
hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addfilter cleanup_whitespaces
|
hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addfilter cleanup_whitespaces
|
||||||
hook WinInsertEnd .* exec xs\h+(?=\n)<ret>d
|
hook WinInsertEnd .* exec xs\h+(?=\n)<ret>d
|
||||||
hook WinCreate .* addhl regex \h+(?=\n) default red
|
hook WinCreate .* addhl regex \h+(?=\n) default red
|
||||||
|
|
||||||
|
hook WinCreate (.*/)?kakrc addhl regex (hook|addhl|rmhl|addfilter|rmfilter|exec) green default
|
||||||
|
hook WinCreate (.*/)?kakrc addhl regex (?<=hook)\h+\w+\h+\H+ magenta default
|
||||||
|
hook WinCreate (.*/)?kakrc addhl regex (?<=hook)\h+\w+ cyan default
|
||||||
|
Loading…
Reference in New Issue
Block a user