diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-01-28 19:33:21 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-01-28 19:33:21 +0000 |
| commit | 3349bcd277893eb33bd33feb7f1136faefff987a (patch) | |
| tree | 162887d289291dbf339abb28cf3a28d1b2b62dcc | |
| parent | 5388a538efd9eee71a8c0258e7f874c387bdc32c (diff) | |
Rename 'ini-file' filetype to just 'ini'
| -rw-r--r-- | rc/ini.kak | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |
