1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-18 08:51:46 +03:00

kakrc: use a hlkakrc highlighter group for kakrc highlighting regex

This commit is contained in:
Maxime Coste 2012-01-15 13:48:48 +00:00
parent f3e8498a58
commit f99c3a1a6a

View File

@ -7,6 +7,7 @@ hook WinInsertEnd .* exec xs\h+(?=\n)<ret>d
hook WinCreate .* addhl regex \h+(?=\n) default red
hook WinCreate (.*/)?kakrc \
addhl regex (hook|addhl|rmhl|addfilter|rmfilter|exec) green default; \
addhl regex (?<=hook)\h+\w+\h+\H+ magenta default; \
addhl regex (?<=hook)\h+\w+ cyan default
addhl group hlkakrc; \
addhl -group hlkakrc regex (hook|addhl|rmhl|addfilter|rmfilter|exec) green default; \
addhl -group hlkakrc regex (?<=hook)\h+\w+\h+\H+ magenta default; \
addhl -group hlkakrc regex (?<=hook)\h+\w+ cyan default