kakoune/test/highlight/ranges/rc
Maxime Coste 08e0b663f7 Fix unintended interpretation of ranges length syntax
Ranges specified with a +<length> were inconsistent, with +0 meaning
an empty range, while +1 meant a two character long range (first character
+ the following one). Change that to mean a single character.

Fixes #3479
2020-05-29 12:25:57 +10:00

4 lines
147 B
Plaintext

declare-option range-specs r
add-highlighter window/ ranges r
set window r %val{timestamp} 1.1+0|default,red 2.1,2.1|default,red 3.1+2|default,red