You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-core
A-Walrus cfa882557e
Fix nondeterministic highlighting (#3275)
* Fix nondeterministic highlighting

This is done by prefering matches in the begining, ie for
`keyword.function`, `keyword` is a better match than `function`.

* Use all positions and not just leftmost

Fixes possible edgecase with something like `function.method.builtin`
and the queries `function.builtin` and `function.method`

* Switch to bitmask for slightly better performance

* Make matches from the start of string

Also change comments to match new behaviour
2 years ago
..
src Fix nondeterministic highlighting (#3275) 2 years ago
tests Indentation rework (#1562) 3 years ago
.gitignore Initial import. 5 years ago
Cargo.toml build(deps): bump similar from 2.1.0 to 2.2.0 (#3293) 2 years ago