mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 04:52:53 +03:00
da13b5f814
Also extend the highlight/regions test to validate that. Thanks to lenormf for reviewing my change and finding this bug.
6 lines
374 B
Plaintext
6 lines
374 B
Plaintext
add-highlighter window/regions_test regions
|
|
add-highlighter window/regions_test/code default-region fill yellow
|
|
add-highlighter window/regions_test/string region %{"} %{(?<!\\)(\\\\)*"} fill green
|
|
add-highlighter window/regions_test/shell region -recurse '\{' '\$\{' '\}' fill red
|
|
add-highlighter window/regions_test/tag region -match-capture '<(\w+)>' '</(\w+)>' fill blue
|