Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tree-painter for syntax highlighting #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

matze
Copy link
Owner

@matze matze commented Feb 7, 2023

This is a work-in-progress PR potentially replacing syntect for tree-painter.

Comparison

metric syntect tree-painter
release size 8.4 MB 35.0 MB
render time (debug) 680ms 64ms
render time (release) 75ms 15ms
languages 62 20

Besides that highlighting is subjectively richer with tree-painter on the other hand the build process is much more involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant