mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
fix(go): properly highlight chan/map (#4875)
This commit is contained in:
parent
905877e75f
commit
6de5ceba03
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue