summaryrefslogtreecommitdiff
path: root/runtime/queries/nickel/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/nickel/highlights.scm')
-rw-r--r--runtime/queries/nickel/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/nickel/highlights.scm b/runtime/queries/nickel/highlights.scm
index cd458df2..4e4bf669 100644
--- a/runtime/queries/nickel/highlights.scm
+++ b/runtime/queries/nickel/highlights.scm
@@ -20,7 +20,7 @@
)
(record_operand (atom (ident) @variable))
-(let_expr
+(let_in_block
"let" @keyword
"rec"? @keyword
pat: (pattern
@@ -53,7 +53,7 @@
(interpolation_end) @punctuation.bracket
["forall" "default" "doc"] @keyword
-["if" "then" "else" "switch"] @keyword.control.conditional
+["if" "then" "else" "match"] @keyword.control.conditional
"import" @keyword.control.import
(infix_expr