by ivanjermakov · 8mo ago · 0 comments
The source of a library needs an update every time there is a configuration change in _any_ tree-sitter parser supported.
The only sustainable option is not use these helpers and manage editor dependencies manually: tree-sitter parsers, LSP servers (looking at you Mason), and plugins (looking at you neovim distros).
And in a similar vein, if queries (.scm files) were hosted in each parser repo, it would also be fairly easy to handle.
I think it’s the latter part with the query files that is the challenge here.
For my text editor I had to yank nvim-treesitter queries and rewrite them.