1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:24:40 -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:
David Symonds 2011-04-11 08:48:19 +10:00
parent 1b7142d157
commit dd4423292e

View File

@ -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