kakoune: remove dotdrop highlighter
This commit is contained in:
parent
39cbe4e5e8
commit
5aa0614a59
|
@ -41,26 +41,6 @@ hook global BufCreate .*\.vue %{
|
|||
}
|
||||
}
|
||||
|
||||
# Highlight Dotdrop templating syntax
|
||||
hook global WinCreate .* %{
|
||||
require-module python
|
||||
add-highlighter window/dotdrop regions
|
||||
|
||||
add-highlighter window/dotdrop/expression region '\{\{@[@]' '[@]@\}\}' group
|
||||
add-highlighter window/dotdrop/statement region '\{%@[@]' '[@]@%\}' group
|
||||
add-highlighter window/dotdrop/comment region '\{#@[@]' '[@]@#\}' fill comment
|
||||
|
||||
add-highlighter window/dotdrop/expression/ fill variable
|
||||
add-highlighter window/dotdrop/statement/ fill variable
|
||||
|
||||
add-highlighter window/dotdrop/expression/ ref python
|
||||
add-highlighter window/dotdrop/statement/ ref python
|
||||
|
||||
add-highlighter window/dotdrop/expression/ regex '\{\{@[@]|[@]@\}\}' 0:block
|
||||
add-highlighter window/dotdrop/statement/ regex '\{%@[@]|[@]@%\}' 0:block
|
||||
add-highlighter window/dotdrop/statement/ regex 'endfor|endif' 0:keyword
|
||||
}
|
||||
|
||||
hook global BufCreate .*\.jsonc %[ set buffer filetype jsonc ]
|
||||
hook global BufCreate .*\.blade.php %[ set buffer filetype blade ]
|
||||
hook global BufCreate .*\.less %[ set buffer filetype less ]
|
||||
|
|
Loading…
Reference in a new issue