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
|