|
|
|
|
|
by arbitrandomuser
511 days ago
|
|
TS can be slow in some situations.
https://github.com/tree-sitter/tree-sitter-julia/raw/refs/he...
open this file with and without treesitter . And neovim will slow to a crawl with TS on. But the traditional regex highlighter can handle it fine. (a file such as the link posted above typically is never meant ot be opened since its machine generated , this is just to show you TS can be slow on large files) TS is faster in other situations.
for example with TS highlighting enabled entering "(" in the buffer is definitly faster in a julia file. (you can test this by holding down "(" in a .jl file and see the difference between TS enabled and only regex highlighting). |
|