ANN: tree-sitter grammar for Motoko

I implemented a new tree-sitter grammar for Motoko at GitHub - christoph-dfinity/tree-sitter-motoko: tree-sitter grammar for Motoko

I’m currently using it to get parser directed syntax highlighting and indentation support for Emacs, but it should work just as well for Nvim, Zed, …

/cc @wiyota you might be interested in this for your Zed editor extension

6 Likes

That’s wonderful!!!
Currently, I’m using the community-provided tree-sitter-motoko locally, and I was planning to customize it myself as needed.
If it’s being provided by the Motoko developers, then I have nothing more to ask for.
Thank you for the quick release :heart_with_ribbon: