You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using tree-sitter-highlight for syntax highlighting? #16
The highlighting "engine" i wrote for ledit is not very efficient and buggy, its entirely custom and i had to implement monkey patch fixes to keep it "performant" on files with more then 5000 lines, f you dont activate highlighting the file size does not affect performance since the editor operates on a list of strings and so moving around the cursor is very cheap and editing just depends on the current line length.
Im considering reusing tree-sitter-highlighting to make it more efficient, the issue is that the parsers for languages are often several mb of c code which would explode the executables size which i would dearly like to avoid
Activity