highlights(go): add some highlights

- added missing operators
- added iota constant
- added comparable type
- edited  go keyword types
This commit is contained in:
mohsen 2023-05-20 12:26:24 +03:30 committed by Stephan Seitz
parent 741260618d
commit f2778bd1a2

View file

@ -64,6 +64,8 @@
"&"
"&&"
"&="
"&^"
"&^="
"%"
"%="
"^"
@ -92,15 +94,12 @@
[
"break"
"chan"
"const"
"continue"
"default"
"defer"
"go"
"goto"
"interface"
"map"
"range"
"select"
"struct"
@ -111,6 +110,7 @@
"func" @keyword.function
"return" @keyword.return
"go" @keyword.coroutine
"for" @repeat
@ -134,6 +134,8 @@
"any"
"bool"
"byte"
"chan"
"comparable"
"complex128"
"complex64"
"error"
@ -144,6 +146,7 @@
"int32"
"int64"
"int8"
"map"
"rune"
"string"
"uint"
@ -206,7 +209,10 @@
(false)
] @boolean
(nil) @constant.builtin
[
(nil)
(iota)
] @constant.builtin
(keyed_element
. (literal_element (identifier) @field))