-
Notifications
You must be signed in to change notification settings - Fork 591
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
[Rust] union
keyword not recognized
#3159
Comments
Try PR #2305 |
Diff looks plausible -- unfortunately (1) I'm stuck on a version of Zola that can't load syntax files at runtime because the newer versions were released with catastrophic bugs and (2) it's not straightforward to build against that PR to update the compiled-in syntax file because it's in a submodule of a dependency of a dependency. :-\ |
If you're stuck on an old version, how does updating this repo help you? |
@cbiffle Thanks for your note (just improved my own tool which had the same issue, offtopic) |
Well, I figured it improves this repo's syntax definitions and once Zola fixes some bugs I might also benefit? If you'd rather I didn't report the bugs, I can close this, I'm a little confused. |
Please feel free to report bugs here. I am just unsure how improvements will help you, given your constraints. If you are later able to use newer versions of Zola and they do allow you to wire in alternative syntax definitions, you are welcome to try out PRs and unreleased versions. |
That PR looks to have been open for quite a while, is it in need of verification? If that's what it's blocked on I could try to cobble together a custom build of the world. But the final comment on the PR suggests that it's hung up on other procedural things. |
Fixed by #2305 |
What happened?
Hi! I'm using your syntax definitions rather indirectly, via the Rust syntect crate compiled into the Zola static site generator.
I note that in the first source listing in this section of my blog, the
union
keyword is not recognized/attributed. It appears in the Rust definition in this repo, the wordunion
does not appear, so I believe it's an issue with the syntax definition.The text was updated successfully, but these errors were encountered: