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

refactor: Move variables into compressed contexts #540

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

Conversation

CosmicHorrorDev
Copy link
Contributor

Hacky implementation that resolves #482

This moves variables into LazyContexts that get compressed for a SyntaxReference

This PR is mostly just a proof-of-concept, so I'd be more than happy to make changes

@CosmicHorrorDev
Copy link
Contributor Author

Worth mentioning that this will be a breaking change of course

@CosmicHorrorDev
Copy link
Contributor Author

Reported the CI issue upstream serde-rs/serde#2734

@Enselic Enselic added this to the syntect 6.0.0 milestone May 2, 2024
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.

Consider compressing SyntaxReference's variables
2 participants