1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 09:21:30 +03:00

ini.kak: add ';' as a valid comment character

This commit is contained in:
helvetie 2017-10-19 15:05:17 +02:00
parent 419527d2c2
commit 7edc1a57a3

View File

@ -3,7 +3,7 @@ hook global BufCreate .*\.(repo|service|target|socket|ini|cfg) %{
}
add-highlighter -group / regions -default code ini \
comment (^|\h)\K\# $ ''
comment (^|\h)\K[\#\;] $ ''
add-highlighter -group /ini/code regex "^\h*\[[^\]]*\]" 0:title
add-highlighter -group /ini/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:variable 2:value