mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 17:02:06 +03:00
d49555fc75
That means we can now have highlighters active at global, buffer, and window scope. The add-highlighter and remove-highlighter syntax changed to take the parent path (scope/group/...) as a mandatory argument, superseeding the previous -group switch.
8 lines
286 B
Plaintext
8 lines
286 B
Plaintext
add-highlighter window regions -default code regions_test \
|
|
string %{"} %{(?<!\\)(\\\\)*"} '' \
|
|
shell '\$\{' '\}' '\{'
|
|
|
|
add-highlighter window/regions_test/code fill yellow
|
|
add-highlighter window/regions_test/string fill green
|
|
add-highlighter window/regions_test/shell fill red
|