mirror of
https://github.com/golang/go
synced 2024-11-24 22:57:57 -07:00
misc/vim: update type highlighting for new reflect package
R=adg CC=golang-dev https://golang.org/cl/4385051
This commit is contained in:
parent
1b7142d157
commit
dd4423292e
@ -181,7 +181,7 @@ if go_highlight_extra_types != 0
|
||||
syn match goExtraType /\<bytes\.\(Buffer\)\>/
|
||||
syn match goExtraType /\<io\.\(Reader\|Writer\|ReadWriter\|ReadWriteCloser\)\>/
|
||||
syn match goExtraType /\<\(os\.Error\)\>/
|
||||
syn match goExtraType /\<reflect\.\w*\(Type\|Value\)\>/
|
||||
syn match goExtraType /\<reflect\.\(Kind\|Type\|Value\)\>/
|
||||
syn match goExtraType /\<unsafe\.Pointer\>/
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user