From f02c6633fb28e241726f4db3f091bed29f27f855 Mon Sep 17 00:00:00 2001 From: greduan Date: Sun, 25 Sep 2016 15:07:53 +0200 Subject: [PATCH] Do s/ini-highlighter/ini/ on rc/base/ini.kak --- rc/base/ini.kak | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rc/base/ini.kak b/rc/base/ini.kak index a04397373..2267d6220 100644 --- a/rc/base/ini.kak +++ b/rc/base/ini.kak @@ -2,18 +2,18 @@ hook global BufCreate .*\.(repo|service|target|socket|ini|cfg) %{ set buffer filetype ini } -addhl -group / regions -default code ini-highlighter \ +addhl -group / regions -default code ini \ comment (^|\h)\K\# $ '' -addhl -group /ini-highlighter/code regex "^\h*\[[^\]]*\]" 0:title -addhl -group /ini-highlighter/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:identifier 2:value +addhl -group /ini/code regex "^\h*\[[^\]]*\]" 0:title +addhl -group /ini/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:identifier 2:value -addhl -group /ini-highlighter/comment fill comment +addhl -group /ini/comment fill comment hook global WinSetOption filetype=ini %{ - addhl ref ini-highlighter + addhl ref ini } hook global WinSetOption filetype=(?!ini).* %{ - rmhl ini-highlighter + rmhl ini }