summaryrefslogtreecommitdiff
path: root/src/ide/highlight.rs
diff options
context:
space:
mode:
authorMarmare314 <49279081+Marmare314@users.noreply.github.com>2023-04-16 14:34:57 +0200
committerGitHub <noreply@github.com>2023-04-16 14:34:57 +0200
commit428c55b6eed3536bb228924c6fb0ad6cea6d6d4b (patch)
tree22180a1cd0ed592e63f05486ea7d827fdc8b6621 /src/ide/highlight.rs
parentd2784f6f9040b280ce9930d8875b33fa034b7dd5 (diff)
refactor SyntaxKind::Pattern (#831)
Diffstat (limited to 'src/ide/highlight.rs')
-rw-r--r--src/ide/highlight.rs3
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),