Update Astro grammar source#7803
Conversation
lildude
left a comment
There was a problem hiding this comment.
Please use the process for replacing a grammar detailed in the CONTRIBUTING.md file to update the paths (and other files the scripts modifies) rather than manually modifying things.
|
Ah, apologies I missed that. Will do! |
|
Tried to do it, but both in local and in GitHub Codespaces I get errors about submodules not existing, Docker not working etc. when using the script. I'll try again over the weekend perhaps on another computer. |
|
Yeah, this is expected if you're trying to do it with your past modifications in place. Start with a clean checkout of |
|
Ooof. I've just hit it in #7804 Looks like the history in the original repo has been rewritten (someone force-pushed) and removed the commit we need. I'll fix it for now in my PR by pointing to the lastest SHA in the original repo. |
|
Strange! We have force pushes disabled all across the organization, not sure what happened. Thank you for fixing it! |

Description
Hello! We merged our language-tools repo at Astro into our Astro monorepo, as such the location of the grammar has now changed. I've updated all the paths to point to the new repo.
Checklist:
I am changing the source of a syntax highlighting grammar
I am updating a grammar submodule