summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------helix-syntax/languages/tree-sitter-go0
-rw-r--r--runtime/queries/go/highlights.scm6
2 files changed, 5 insertions, 1 deletions
diff --git a/helix-syntax/languages/tree-sitter-go b/helix-syntax/languages/tree-sitter-go
-Subproject 2a83dfdd759a632651f852aa4dc0af2525fae5c
+Subproject 0fa917a7022d1cd2e9b779a6a8fc5dc7fad69c7
diff --git a/runtime/queries/go/highlights.scm b/runtime/queries/go/highlights.scm
index 56384d4d..4ff8675b 100644
--- a/runtime/queries/go/highlights.scm
+++ b/runtime/queries/go/highlights.scm
@@ -69,6 +69,7 @@
"|"
"|="
"||"
+ "~"
] @operator
; Keywords
@@ -143,6 +144,9 @@
(false)
] @constant.builtin.boolean
-(nil) @constant.builtin
+[
+ (nil)
+ (iota)
+] @constant.builtin
(comment) @comment