From b2867a0197e08677f35c9a6ae64675c675546a97 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Thu, 28 Jun 2018 00:08:44 +0200 Subject: [PATCH] Support .properties extension, fix coloring the equals sign --- rc/base/ini.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/base/ini.kak b/rc/base/ini.kak index 7f64e87c9..240775e5a 100644 --- a/rc/base/ini.kak +++ b/rc/base/ini.kak @@ -1,4 +1,4 @@ -hook global BufCreate .*\.(repo|service|target|socket|ini|cfg) %{ +hook global BufCreate .*\.(repo|service|target|socket|ini|cfg|properties) %{ set-option buffer filetype ini } @@ -6,7 +6,7 @@ add-highlighter shared/ regions -default code ini \ comment '(^|\h)\K[#;]' $ '' add-highlighter shared/ini/code regex "^\h*\[[^\]]*\]" 0:title -add-highlighter shared/ini/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:variable 2:value +add-highlighter shared/ini/code regex "^\h*([^\[][^=\n]*)=([^\n]*)" 1:variable 2:value add-highlighter shared/ini/comment fill comment