From 3349bcd277893eb33bd33feb7f1136faefff987a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 28 Jan 2016 19:33:21 +0000 Subject: [PATCH] Rename 'ini-file' filetype to just 'ini' --- rc/ini.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/ini.kak b/rc/ini.kak index 7740a4db..a0439737 100644 --- a/rc/ini.kak +++ b/rc/ini.kak @@ -1,5 +1,5 @@ hook global BufCreate .*\.(repo|service|target|socket|ini|cfg) %{ - set buffer filetype ini-file + set buffer filetype ini } addhl -group / regions -default code ini-highlighter \ @@ -10,10 +10,10 @@ addhl -group /ini-highlighter/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:identif addhl -group /ini-highlighter/comment fill comment -hook global WinSetOption filetype=ini-file %{ +hook global WinSetOption filetype=ini %{ addhl ref ini-highlighter } -hook global WinSetOption filetype=(?!ini-file).* %{ +hook global WinSetOption filetype=(?!ini).* %{ rmhl ini-highlighter }