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 \
|
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*\[[^\]]*\]" 0:title
|
||||||
add-highlighter -group /ini/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:variable 2:value
|
add-highlighter -group /ini/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:variable 2:value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user