259678585c
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. |
||
---|---|---|
.. | ||
ui | ||
application.rs | ||
args.rs | ||
commands.rs | ||
compositor.rs | ||
config.rs | ||
job.rs | ||
keymap.rs | ||
lib.rs | ||
main.rs |