From f99c3a1a6a217571284cf51dddb45724cc00d438 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 15 Jan 2012 13:48:48 +0000 Subject: [PATCH] kakrc: use a hlkakrc highlighter group for kakrc highlighting regex --- src/kakrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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