kakoune/test/regression/1195-infinite-loop-in-regex-matching/rc
Maxime Coste d49555fc75 Move highlighters into Scopes
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.
2017-10-28 13:43:04 +08:00

3 lines
105 B
Plaintext

add-highlighter window regions -default code -match-capture sh \
heredoc '<<-?(\w+)' '^\t*(\w+)$' ''