teikalang / teika

MIT License
318 stars 7 forks source link

feat(vscode): tree-sitter based syntax highlighting #211

Open neubaner opened 3 months ago

neubaner commented 3 months ago

Add support for syntax highlighting using the tree-sitter-teika parser.

This is still very barebones and it might need some tweaking of the mapping between the tree-sitter node names to vscode's.

Also, hopefully you don't mind the addition of esbuild. I needed a bundler to be able to import the tree-sitter queries and wasm paths 😄 .

image