diff options
| author | Marmare314 <49279081+Marmare314@users.noreply.github.com> | 2023-04-16 14:34:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-16 14:34:57 +0200 |
| commit | 428c55b6eed3536bb228924c6fb0ad6cea6d6d4b (patch) | |
| tree | 22180a1cd0ed592e63f05486ea7d827fdc8b6621 /src/ide | |
| parent | d2784f6f9040b280ce9930d8875b33fa034b7dd5 (diff) | |
refactor SyntaxKind::Pattern (#831)
Diffstat (limited to 'src/ide')
| -rw-r--r-- | src/ide/highlight.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ide/highlight.rs b/src/ide/highlight.rs index 9180aaee..259d34c3 100644 --- a/src/ide/highlight.rs +++ b/src/ide/highlight.rs @@ -239,14 +239,13 @@ pub fn highlight(node: &LinkedNode) -> Option<Tag> { SyntaxKind::Conditional => None, SyntaxKind::WhileLoop => None, SyntaxKind::ForLoop => None, - SyntaxKind::ForPattern => None, SyntaxKind::ModuleImport => None, SyntaxKind::ImportItems => None, SyntaxKind::ModuleInclude => None, SyntaxKind::LoopBreak => None, SyntaxKind::LoopContinue => None, SyntaxKind::FuncReturn => None, - SyntaxKind::Pattern => None, + SyntaxKind::Destructuring => None, SyntaxKind::LineComment => Some(Tag::Comment), SyntaxKind::BlockComment => Some(Tag::Comment), |
