Skip to content

Commit 3573d89

Browse files
authored
Merge pull request #3351 from fzipp/master
syntax: support new predefined types `any` and `comparable` for Go 1.18
2 parents 430bc22 + 9b1d8f3 commit 3573d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/go.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ hi def link goLabel Label
3434
hi def link goRepeat Repeat
3535

3636
" Predefined types
37-
syn keyword goType chan map bool string error
37+
syn keyword goType chan map bool string error any comparable
3838
syn keyword goSignedInts int int8 int16 int32 int64 rune
3939
syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr
4040
syn keyword goFloats float32 float64

0 commit comments

Comments
 (0)