Adding tree-sitter support for advanced highlighting #398
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
language features
syntax highlighting, lsp, other language features
suggestions needed
bugs/features that are still not figured out and need solution suggestions
text editor
Related to text editor's features
Feature
Currently, Pygments handles the syntax highlighting for over 500+ file types. While it's a good system already, there are performance issues with this while editing large files. Treesitter provides a better highlighter and can help in this situation. One drawback is having to add support for each language individually.
Using biscuit extensions to add support for individual languages will solve this issue. Provide support for some of the most popular ones built-in. And have pygments as a fallback highlighter if suitable (keeping the executable size at minimum).
The text was updated successfully, but these errors were encountered: