fix(go): properly highlight chan/map (#4875)

This commit is contained in:
Amaan Qureshi 2023-05-30 00:09:37 -04:00 committed by GitHub
parent 905877e75f
commit 6de5ceba03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,12 +129,13 @@
;; Builtin types ;; Builtin types
[ "chan" "map" ] @type.builtin
((type_identifier) @type.builtin ((type_identifier) @type.builtin
(#any-of? @type.builtin (#any-of? @type.builtin
"any" "any"
"bool" "bool"
"byte" "byte"
"chan"
"comparable" "comparable"
"complex128" "complex128"
"complex64" "complex64"
@ -146,7 +147,6 @@
"int32" "int32"
"int64" "int64"
"int8" "int8"
"map"
"rune" "rune"
"string" "string"
"uint" "uint"