mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-15 09:17:22 +03:00
Merge remote-tracking branch 'helvetie/ini-comments'
This commit is contained in:
commit
f76535613e
@ -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