It will help other projects to integrate better:
Interesting suggestion @XVilka! Will look into it as part of creating the LSP server for V. After I read this HN discussion, this could be also a good addition to the syntax highlighting of V alongside TextMate grammars.
Relevant discussions:
LSP - #2368
Syntax Highlighting - #465
I have created a tree-sitter parser for V. It's still a work in progress:
https://github.com/nedpals/tree-sitter-v
@XVilka I almost covered the syntax for V. And you can see it in action in this PR: https://github.com/0x9ef/vscode-vlang/pull/116
I'll gonna be closing this one. Since it has been implemented.
Most helpful comment
I have created a tree-sitter parser for V. It's still a work in progress:
https://github.com/nedpals/tree-sitter-v