3 ms·
>While this seems like a nice effort the roadmap for Neovim has Tree-sitter¹ integration² planned for the next release Well, one is an existing syntax highligh
by coldtea 7y ago
>While this seems like a nice effort the roadmap for Neovim has Tree-sitter¹ integration² planned for the next release
Well, one is an existing syntax highlighter one can install and use now, the other is something new, we haven't seen, that might or might not come with the next release.
Does anybody use it atm on any editor?
- jchw 7y agoTree sitter? It can be used with an extension in VS Code: https://marketplace.visualstudio.com/items?itemName=georgewfraser.vscode-tree-sitter https://marketplace.visualstudio.com/items?itemName=georgewf... It works just fine, although it is not a massive improvement by any means, from the dev experience we have today. I do not know if any editors are shipping with it yet.
- Liquid_Fire 7y agoPresumably also Atom and GitHub's online editor, for which Tree-sitter was written.
- minxomat 7y agoTree sitter is used in Atom and is replacing Textmate grammars. In fact, tree sitter recently got s-expression query support, which will replace the old CSS selector syntax. So atom is already in the second generation of tree sitter support. GitHub semantic (go to definition, call graph) is powered by tree sitter wrapped in an Haskell analyzer. The next version of Codemirror is using Lezer, a JS port of tree sitter. I use tree sitter in a static analysis tool that runs on our internal repos (about 4000).