You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 synctectdoesn'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.
The text was updated successfully, but these errors were encountered:
rbartlensky
changed the title
Sublime Packages submodule is quite out of date
Sublime Packages submodule is out of date
Dec 28, 2022
Bug Report
I wanted to highlight some Rust code that contains keywords such as
async
andawait
.Environment
Zola version: 0.16.1
Expected Behavior
A Rust codeblock should correctly highlight
async
andawait
.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 withsyntect
anymore. For example, the HTML (ASP) grammar usesextends
, butsynctect
doesn't implement that yet. As a workaround I believe I can useextra_syntaxes_and_themes
and check the newer Rust grammar into my project.The text was updated successfully, but these errors were encountered: