diff options
author | metamuffin <metamuffin@disroot.org> | 2022-09-25 18:29:22 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-09-25 18:29:22 +0200 |
commit | e3edf18503b3975ccec3b33c0cb9e7f0888bd031 (patch) | |
tree | 9b8d795bf5e0ff6e0f5cdd882cef07d495f73a72 /code/src/syntax_highlight/grammar.rs | |
parent | a80b5c677417cdbc17df3109ef9d12afe79973cc (diff) | |
download | metamuffin-blog-e3edf18503b3975ccec3b33c0cb9e7f0888bd031.tar metamuffin-blog-e3edf18503b3975ccec3b33c0cb9e7f0888bd031.tar.bz2 metamuffin-blog-e3edf18503b3975ccec3b33c0cb9e7f0888bd031.tar.zst |
extend parser
Diffstat (limited to 'code/src/syntax_highlight/grammar.rs')
-rw-r--r-- | code/src/syntax_highlight/grammar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/src/syntax_highlight/grammar.rs b/code/src/syntax_highlight/grammar.rs index 18ba9e2..0878b33 100644 --- a/code/src/syntax_highlight/grammar.rs +++ b/code/src/syntax_highlight/grammar.rs @@ -5,7 +5,7 @@ pub fn grammar_for(syntax: &str) -> &'static [(&'static str, &'static [&'static "keyword", &[ "fn", "pub", "async", "return", "if", "else", "let", "for", "in", "while", - "loop", "impl", "for", "trait", "struct", "enum", + "loop", "impl", "for", "trait", "struct", "enum", "dyn", ], ), ( |