mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
Merge remote-tracking branch 'maximbaz/ini-support-properties-fix-equals-color'
This commit is contained in:
commit
68e5674f59
@ -1,4 +1,4 @@
|
|||||||
hook global BufCreate .*\.(repo|service|target|socket|ini|cfg) %{
|
hook global BufCreate .*\.(repo|service|target|socket|ini|cfg|properties) %{
|
||||||
set-option buffer filetype ini
|
set-option buffer filetype ini
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ add-highlighter shared/ regions -default code ini \
|
|||||||
comment '(^|\h)\K[#;]' $ ''
|
comment '(^|\h)\K[#;]' $ ''
|
||||||
|
|
||||||
add-highlighter shared/ini/code regex "^\h*\[[^\]]*\]" 0:title
|
add-highlighter shared/ini/code regex "^\h*\[[^\]]*\]" 0:title
|
||||||
add-highlighter shared/ini/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:variable 2:value
|
add-highlighter shared/ini/code regex "^\h*([^\[][^=\n]*)=([^\n]*)" 1:variable 2:value
|
||||||
|
|
||||||
add-highlighter shared/ini/comment fill comment
|
add-highlighter shared/ini/comment fill comment
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user