hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) \ addhl hlcpp; \ addfilter preserve_indent; \ addfilter cleanup_whitespaces hook WinInsertEnd .* exec xs\h+(?=\n)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