micro/pkg/highlight
Jöran Karl ceaa143c62
highlighter: Fix regions and patterns inside regions (#2840)
* highlighter: Fix regions and patterns inside regions

* highlighting: Remove 2nd recursive highlightRegion() call

...and add limitGroup checks to pattern search.

* yaml: Add TODO type highlighting

* highlighting: Don't stop in highlightRegion() at empty lines

...because possible region line end pattern must be detected.

* syntax/sh: Correct string handling due to additional pattern handling

* syntax/sh: Remove slash in variables

* highlighter: Accept nested region only in case it's within the current reagion

* highlighter: Accept nested patterns only in case it's within the current reagion

* highlighter: Don't search for nesting in case the region end was found at start
2023-07-11 13:49:12 -07:00
..
ftdetect.go Remove detect requirement and detect in jinja file 2019-12-28 22:27:44 -05:00
highlighter.go highlighter: Fix regions and patterns inside regions (#2840) 2023-07-11 13:49:12 -07:00
parser.go Remove detect requirement and detect in jinja file 2019-12-28 22:27:44 -05:00
unicode.go Make determining whether a code point represents a combining mark faster (#1719) 2020-06-12 00:10:00 -04:00