helix-mods/helix-term
Blaž Hrastnik 259678585c ui: Optimize tree-sitter style lookups
Tree sitter returns an index referring to the position of the scope in
the scopes array. We can use that same index to avoid a hashmap lookup
and instead store the styles in an array.

This currently stores the styles in both a map and an array because the
UI still uses hashmap lookups, but it's a reasonable tradeoff.
2021-12-01 13:08:20 +09:00
..
src ui: Optimize tree-sitter style lookups 2021-12-01 13:08:20 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Add commit hash to version info, if present (#957) 2021-11-15 00:09:02 +09:00
Cargo.toml Prevent preview binary or large file (#939) 2021-11-04 12:24:52 +09:00