-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Typst grammar not accessible #7145
Comments
Hi @lildude so sorry about this. I deleted the repo since it was vastly out of date and people were complaining in the issues. I should have archived it instead. Dont switch to |
@michidk are you able to find another maintained grammar? If not the only option is to remove the current grammar which will upset a lot of Typst users, unless someone has a recent clone of your repo (I might, but there's no guarantee as I mostly use codespaces which are cleaned up regularly). |
There are more up-to-date grammars, like https://github.com/Myriad-Dreamin/tinymist/tree/main/syntaxes/textmate but I dont think they are supported by linguist (at least I remember having a look at this and didnt get it to work, but maybe im wrong). I have re-created the repository using information from other issues and PRs: https://github.com/michidk/typst-grammar/ I am not 100% sure its the latest version, so if you have a copy lying around feel free to post that here and I will have a look. I am sorry for the inconvenience this caused. Maybe a more future-proof version of this repository could host the grammars itself? |
I do, and it's got the latest commit we're expecting to I'll force push my clone. |
Nope. Looks like it needs some sort of preprocessing which we don't do.
We try not to host any grammars as there's an expectation that we'll maintain it which we won't 😁. |
I think this can be closed then |
Tests are failing because the typst grammar can't be found:
Looks like @michidk renamed the repo to just
typst
.@michidk I see your repo is a fork of the upstream repo and is now trailing it. Should we switch to using the upstream grammar?
The text was updated successfully, but these errors were encountered: