diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-30 16:17:52 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-30 16:17:52 +0200 |
| commit | d1a7a6dbab1e59936c0dcd4278e584fe739e9aaa (patch) | |
| tree | 329fc4d51299d558f750325c5762fe26e3c5a14d /library/src | |
| parent | 5b4f4c164bc42802763c9f9d0121f81ebf116761 (diff) | |
Non-Typst highlighting in documentation
Diffstat (limited to 'library/src')
| -rw-r--r-- | library/src/text/raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index 1cb3cab1..24f39bb6 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -343,7 +343,7 @@ fn to_syn(RgbaColor { r, g, b, a }: RgbaColor) -> synt::Color { /// syntaxes/02_Extra/VimHelp.sublime-syntax /// syntaxes/02_Extra/cmd-help/syntaxes/cmd-help.sublime-syntax /// ``` -static SYNTAXES: Lazy<syntect::parsing::SyntaxSet> = +pub static SYNTAXES: Lazy<syntect::parsing::SyntaxSet> = Lazy::new(|| syntect::dumps::from_binary(include_bytes!("../../assets/syntect.bin"))); /// The default theme used for syntax highlighting. |
