mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-21 10:40:53 +03:00
ini.kak: add ';' as a valid comment character
This commit is contained in:
parent
419527d2c2
commit
7edc1a57a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user