mirror of
https://github.com/golang/go
synced 2024-11-14 07:00:21 -07:00
misc: update type + builtin lists found in editor support files
R=adg, dsymonds CC=golang-dev https://golang.org/cl/4072041
This commit is contained in:
parent
80e25fc923
commit
5cfadeb047
@ -15,7 +15,6 @@
|
|||||||
chan,
|
chan,
|
||||||
close,
|
close,
|
||||||
closed,
|
closed,
|
||||||
cmplx,
|
|
||||||
complex,
|
complex,
|
||||||
complex128,
|
complex128,
|
||||||
complex64,
|
complex64,
|
||||||
@ -27,7 +26,6 @@
|
|||||||
else,
|
else,
|
||||||
fallthrough,
|
fallthrough,
|
||||||
false,
|
false,
|
||||||
float,
|
|
||||||
float32,
|
float32,
|
||||||
float64,
|
float64,
|
||||||
for,
|
for,
|
||||||
|
@ -70,7 +70,6 @@
|
|||||||
<string>chan</string>
|
<string>chan</string>
|
||||||
<string>complex64</string>
|
<string>complex64</string>
|
||||||
<string>complex128</string>
|
<string>complex128</string>
|
||||||
<string>float</string>
|
|
||||||
<string>float32</string>
|
<string>float32</string>
|
||||||
<string>float64</string>
|
<string>float64</string>
|
||||||
<string>int</string>
|
<string>int</string>
|
||||||
|
@ -42,10 +42,8 @@
|
|||||||
<item> bool </item>
|
<item> bool </item>
|
||||||
<item> byte </item>
|
<item> byte </item>
|
||||||
<item> chan </item>
|
<item> chan </item>
|
||||||
<item> complex </item>
|
|
||||||
<item> complex64 </item>
|
<item> complex64 </item>
|
||||||
<item> complex128 </item>
|
<item> complex128 </item>
|
||||||
<item> float </item>
|
|
||||||
<item> float32 </item>
|
<item> float32 </item>
|
||||||
<item> float64 </item>
|
<item> float64 </item>
|
||||||
<item> int </item>
|
<item> int </item>
|
||||||
@ -67,7 +65,7 @@
|
|||||||
<item> cap </item>
|
<item> cap </item>
|
||||||
<item> close </item>
|
<item> close </item>
|
||||||
<item> closed </item>
|
<item> closed </item>
|
||||||
<item> cmplx </item>
|
<item> complex </item>
|
||||||
<item> copy </item>
|
<item> copy </item>
|
||||||
<item> imag </item>
|
<item> imag </item>
|
||||||
<item> len </item>
|
<item> len </item>
|
||||||
|
@ -70,8 +70,8 @@ hi def link goRepeat Repeat
|
|||||||
syn keyword goType chan map bool string
|
syn keyword goType chan map bool string
|
||||||
syn keyword goSignedInts int int8 int16 int32 int64
|
syn keyword goSignedInts int int8 int16 int32 int64
|
||||||
syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr
|
syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr
|
||||||
syn keyword goFloats float float32 float64
|
syn keyword goFloats float32 float64
|
||||||
syn keyword goComplexes complex complex64 complex128
|
syn keyword goComplexes complex64 complex128
|
||||||
|
|
||||||
hi def link goType Type
|
hi def link goType Type
|
||||||
hi def link goSignedInts Type
|
hi def link goSignedInts Type
|
||||||
@ -85,7 +85,7 @@ syn match goType /\<func\>/
|
|||||||
syn match goDeclaration /^func\>/
|
syn match goDeclaration /^func\>/
|
||||||
|
|
||||||
" Predefined functions and values
|
" Predefined functions and values
|
||||||
syn keyword goBuiltins append cap close closed cmplx copy imag len
|
syn keyword goBuiltins append cap close closed complex copy imag len
|
||||||
syn keyword goBuiltins make new panic print println real recover
|
syn keyword goBuiltins make new panic print println real recover
|
||||||
syn keyword goConstants iota true false nil
|
syn keyword goConstants iota true false nil
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user