diff --git a/src/kakrc b/src/kakrc index c86c98d8..1e146197 100644 --- a/src/kakrc +++ b/src/kakrc @@ -7,6 +7,7 @@ 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 + 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