helix-mirror/helix-core
Michael Davis 39f6d71238
Add a generic iterator over captures across injections
This can be used to calculate rainbow highlights (see the child commit)
or indents or textobjects and be accurate to the injected content
rather than just the root layer. This is useful for languages which
use injections heavily like Vue or JavaScript within HTML but are also
useful in common scenarios like within codeblocks in Markdown.

This iterator shares some code with the HighlightIter and
HighlightIterLayer but that iterator emits HighlightEvents, so it cares
about the beginnings and ends of highlight events rather than captures.
2024-02-26 06:37:57 -05:00
..
src Add a generic iterator over captures across injections 2024-02-26 06:37:57 -05:00
tests fix lsp config reload (#9415) 2024-02-13 11:58:53 +01:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
Cargo.toml build(deps): bump textwrap from 0.16.0 to 0.16.1 (#9674) 2024-02-20 17:07:16 +01:00