aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorA-Walrus2022-08-05 00:12:14 +0000
committerGitHub2022-08-05 00:12:14 +0000
commitcfa882557eb24cf0bed0485d0811d3f35832ba4b (patch)
tree5470412f52a7c79e37e1f827e3b8e36ebd88864b /helix-lsp
parentf32c05db857c61fddb45b66d2ca1de2bd70b7db2 (diff)
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
Diffstat (limited to 'helix-lsp')
0 files changed, 0 insertions, 0 deletions