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-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.
3 years ago
..
ui ui: Optimize tree-sitter style lookups 3 years ago
application.rs Simplify some code in editor.rs 3 years ago
args.rs Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898) 3 years ago
commands.rs minor: Use anchor::ensure in some cases 3 years ago
compositor.rs Simplify compositor.find 3 years ago
config.rs Launch with defaults upon invalid config/theme (#982) 3 years ago
job.rs Drop some &mut bounds where & would have sufficed 3 years ago
keymap.rs gf as goto_file (#1102) 3 years ago
lib.rs Remove #[allow(unused)] from helix-term, and fix unused imports. 3 years ago
main.rs revert log truncation (#895) (#1130) 3 years ago