kak: add jsonc support

This commit is contained in:
lelgenio 2021-03-11 01:40:14 -03:00
parent ee9d958e10
commit 312f2d65ff

View file

@ -40,6 +40,14 @@ hook global WinCreate .* %{
add-highlighter window/dotdrop/statement/ regex 'endfor|endif' 0:keyword
}
hook global BufCreate .*\.jsonc %[
require-module json
add-highlighter buffer/jsonc regions
add-highlighter buffer/jsonc/base default-region ref json
add-highlighter buffer/jsonc/double_string region ["] ["] fill string
add-highlighter buffer/jsonc/line-comment region // $ fill comment
]
hook global BufCreate .*\.blade.php %[