diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-01-28 20:02:42 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-01-28 20:02:42 +0100 |
| commit | 76b1d4a93f6d045901f17db46d82a97c9f407703 (patch) | |
| tree | f851460a038a4c543e3900352ec1a2903b6c9849 /src/syntax/highlight.rs | |
| parent | 2d97d406aced1f1ab7d3bc459e31bb0eff92b892 (diff) | |
Parse `show` and `wrap` expressions
Diffstat (limited to 'src/syntax/highlight.rs')
| -rw-r--r-- | src/syntax/highlight.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/syntax/highlight.rs b/src/syntax/highlight.rs index 0f1ee89d..c399b487 100644 --- a/src/syntax/highlight.rs +++ b/src/syntax/highlight.rs @@ -136,11 +136,14 @@ impl Category { NodeKind::With => Some(Category::Keyword), NodeKind::Let => Some(Category::Keyword), NodeKind::Set => Some(Category::Keyword), + NodeKind::Show => Some(Category::Keyword), + NodeKind::Wrap => Some(Category::Keyword), NodeKind::If => Some(Category::Keyword), NodeKind::Else => Some(Category::Keyword), NodeKind::While => Some(Category::Keyword), NodeKind::For => Some(Category::Keyword), NodeKind::In => Some(Category::Keyword), + NodeKind::As => Some(Category::Keyword), NodeKind::Break => Some(Category::Keyword), NodeKind::Continue => Some(Category::Keyword), NodeKind::Return => Some(Category::Keyword), @@ -211,6 +214,8 @@ impl Category { NodeKind::WithExpr => None, NodeKind::LetExpr => None, NodeKind::SetExpr => None, + NodeKind::ShowExpr => None, + NodeKind::WrapExpr => None, NodeKind::IfExpr => None, NodeKind::WhileExpr => None, NodeKind::ForExpr => None, |
