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

Sublime Packages submodule is out of date #2063

Open
rbartlensky opened this issue Dec 28, 2022 · 1 comment
Open

Sublime Packages submodule is out of date #2063

rbartlensky opened this issue Dec 28, 2022 · 1 comment

Comments

@rbartlensky
Copy link

rbartlensky commented Dec 28, 2022

Bug Report

I wanted to highlight some Rust code that contains keywords such as async and await.

Environment

Zola version: 0.16.1

Expected Behavior

A Rust codeblock should correctly highlight async and await.

Current Behavior

The aforementioned keywords are not highlighted.

Step to reproduce

Create a Rust codeblock that contains async, render it, and notice that it's not highlighted.

Notes

I tried to update the Packages submodule, but some of the grammars in there are not compatible with syntect anymore. For example, the HTML (ASP) grammar uses extends, but synctect doesn't implement that yet. As a workaround I believe I can use extra_syntaxes_and_themes and check the newer Rust grammar into my project.

@rbartlensky rbartlensky changed the title Sublime Packages submodule is quite out of date Sublime Packages submodule is out of date Dec 28, 2022
@Keats
Copy link
Collaborator

Keats commented Jan 8, 2023

See #1787 for some discussions around that

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

No branches or pull requests

2 participants