rc/filetype/go: add new go 1.18 predeclared identifiers
Go 1.18 introduces the `any` and `comparable` predeclared identifiers. Modify the list of identifiers here, so syntax highlighting will catch these new identifiers. See https://go.dev/ref/spec#Predeclared_identifiers.
This commit is contained in:
parent
2fc07d92c2
commit
293a02bfa0
|
@ -56,7 +56,7 @@ evaluate-commands %sh{
|
|||
keywords='break default func interface select case defer go map struct
|
||||
chan else goto package switch const fallthrough if range type
|
||||
continue for import return var'
|
||||
types='bool byte chan complex128 complex64 error float32 float64 int int16 int32
|
||||
types='any bool byte chan comparable complex128 complex64 error float32 float64 int int16 int32
|
||||
int64 int8 interface intptr map rune string struct uint uint16 uint32 uint64 uint8'
|
||||
values='false true nil iota'
|
||||
functions='append cap close complex copy delete imag len make new panic print println real recover'
|
||||
|
|
Loading…
Reference in New Issue
Block a user