From 4bfe46a8820b608608a3c0e3ab97638402f59c16 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 7 Aug 2012 13:51:21 +0200 Subject: [PATCH] kakrc: tweak highlighting --- src/rc/kakrc.kak | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/rc/kakrc.kak b/src/rc/kakrc.kak index a1236e69..15254ba6 100644 --- a/src/rc/kakrc.kak +++ b/src/rc/kakrc.kak @@ -4,10 +4,11 @@ hook global BufCreate (.*/)?(kakrc|.*.kak) %{ hook global WinSetOption filetype=kak %{ addhl group kak-highlight - addhl -group kak-highlight regex \<(hook|addhl|rmhl|addfilter|rmfilter|exec|source|runtime|def|echo|edit|set[gbw])\> 0:green,default - addhl -group kak-highlight regex \<(default|black|red|green|yellow|blue|magenta|cyan|white)\> 0:yellow,default + addhl -group kak-highlight regex \<(hook|addhl|rmhl|addfilter|rmfilter|exec|source|runtime|def|echo|edit|set[gbw])\> 0:green + addhl -group kak-highlight regex \<(default|black|red|green|yellow|blue|magenta|cyan|white)\> 0:yellow addhl -group kak-highlight regex (?<=\