4 ms·
I use both. In my experience, syntax highlighting with language servers is slower than with tree-sitter. It stands to reason: a language server often does way
by nequo 3y ago
I use both. In my experience, syntax highlighting with language servers is slower than with tree-sitter.
It stands to reason: a language server often does way more than just incremental parsing of the source code into a concrete syntax tree. By limiting itself to syntax, tree-sitter can be much faster.
- Difwif 3y agoDo you keep the lsp semantic tokens capability enabled along with treesitter or only use treesitter for syntax highlights?