elixir-lang / tree-sitter-elixir

Elixir grammar for tree-sitter
https://elixir-lang.org/tree-sitter-elixir
Apache License 2.0
245 stars 24 forks source link

Bump to tree-sitter 0.20.7 and regenerate parser #42

Closed connorlay closed 1 year ago

connorlay commented 1 year ago

Upgrading to tree-sitter 0.20.7 causes the parser to be generated for the newest ABI version 14. This includes noticeable performance improvements when parsing query files for languages like Elixir using the new primary_state_ids field.

See https://github.com/tree-sitter/tree-sitter/pull/1589 and https://github.com/tree-sitter/tree-sitter/pull/1852 for more information on this change.

You can see the impact of this change by comparing how long it takes to execute npm test on this branch compared to master 🙂 This change should improve the initial load time of Elixir buffers in editors like Neovim and Helix that use tree-sitter-elixir for syntax highlighting.

connorlay commented 1 year ago

@the-mikedavis Done!

the-mikedavis commented 1 year ago

Thanks @connorlay!