helix-mods/helix-term/src
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
..
ui ui: Optimize tree-sitter style lookups 2021-12-01 13:08:20 +09:00
application.rs Simplify some code in editor.rs 2021-11-26 18:26:22 +09:00
args.rs Implement hx --tutor and :tutor to load tutor.txt (#898) 2021-10-28 10:23:46 +09:00
commands.rs minor: Use anchor::ensure in some cases 2021-12-01 12:57:22 +09:00
compositor.rs Simplify compositor.find 2021-11-18 11:09:04 +09:00
config.rs Launch with defaults upon invalid config/theme (#982) 2021-11-07 00:57:14 +09:00
job.rs Drop some &mut bounds where & would have sufficed 2021-09-06 15:25:46 +09:00
keymap.rs gf as goto_file (#1102) 2021-11-29 10:53:29 +09:00
lib.rs Remove #[allow(unused)] from helix-term, and fix unused imports. 2021-07-01 19:06:52 -07:00
main.rs revert log truncation (#895) (#1130) 2021-11-19 13:26:39 +09:00