2012-01-15 07:04:37 +04:00
|
|
|
hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) \
|
|
|
|
addhl hlcpp; \
|
|
|
|
addfilter preserve_indent; \
|
|
|
|
addfilter cleanup_whitespaces
|
|
|
|
|
2011-12-21 22:58:41 +04:00
|
|
|
hook WinInsertEnd .* exec xs\h+(?=\n)<ret>d
|
2011-12-06 22:50:05 +04:00
|
|
|
hook WinCreate .* addhl regex \h+(?=\n) default red
|
2012-01-14 05:04:08 +04:00
|
|
|
|
2012-01-15 07:04:37 +04:00
|
|
|
hook WinCreate (.*/)?kakrc \
|
2012-01-15 17:48:48 +04:00
|
|
|
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
|