aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-01-11 10:10:02 +0000
committerBlaž Hrastnik2022-01-11 10:10:02 +0000
commitddbf03613d5a3dd64f3f5ba13795e70c29297837 (patch)
tree39a22b841de978ee9df8af71841774d161b64593 /runtime/queries
parentafc602d306923bf958604c5380f0eefc935acae1 (diff)
Update tree-sitter-go with generics support
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/go/highlights.scm6
1 files changed, 5 insertions, 1 deletions
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