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(syntax): Use a YAML file to generate the final syntax #461
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
👋 from GitHub's Linguist library which uses this grammar for syntax highlighting of Astro files on GitHub.com. This PR has removed the |
Hello! I'll add the built file to the repo as well. Sorry for the inconvenience! |
Fixed, sorry again for the inconvenience! |
🎉 Perfect! Thanks for the quick fix. |
Changes
Inspired by Svelte's language-tools, this moves our syntax file to a yaml file that is then converted to JSON for publishing.
This has a lot of benefits:
We kept the exact same feature set while using half as much lines
Fix #459
Testing
Updated snapshots to account for the changes
Docs
N/A