mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 14:31:46 +00:00
19 lines
828 B
Plaintext
Vendored
19 lines
828 B
Plaintext
Vendored
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
|
|
}
|