Just a small heads-up: tree-sitter has deprecated C++ for external scanners due to portability issues (especially with WASM, which will become a central part of the parser distribution strategy); see https://tree-sitter.github.io/tree-sitter/creating-parsers#external-scanners. Accordingly, nvim-treesitter will drop support for such parsers in 1.0, too.
In the upcoming release (0.22.0), tree-sitter provides a new array.h header for use in scanners, so C++ is no longer necessary just for <vector>. Feel free to reach out on https://matrix.to/#/#tree-sitter-chat:matrix.org if you need help with the rewrite!
Just a small heads-up: tree-sitter has deprecated C++ for external scanners due to portability issues (especially with WASM, which will become a central part of the parser distribution strategy); see https://tree-sitter.github.io/tree-sitter/creating-parsers#external-scanners. Accordingly, nvim-treesitter will drop support for such parsers in 1.0, too.
In the upcoming release (0.22.0), tree-sitter provides a new
array.h
header for use in scanners, so C++ is no longer necessary just for<vector>
. Feel free to reach out on https://matrix.to/#/#tree-sitter-chat:matrix.org if you need help with the rewrite!