mirror of
https://github.com/golang/go
synced 2024-09-04 23:44:16 +00: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,
|
||||
close,
|
||||
closed,
|
||||
cmplx,
|
||||
complex,
|
||||
complex128,
|
||||
complex64,
|
||||
|
@ -27,7 +26,6 @@
|
|||
else,
|
||||
fallthrough,
|
||||
false,
|
||||
float,
|
||||
float32,
|
||||
float64,
|
||||
for,
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
<string>chan</string>
|
||||
<string>complex64</string>
|
||||
<string>complex128</string>
|
||||
<string>float</string>
|
||||
<string>float32</string>
|
||||
<string>float64</string>
|
||||
<string>int</string>
|
||||
|
|
|
@ -42,10 +42,8 @@
|
|||
<item> bool </item>
|
||||
<item> byte </item>
|
||||
<item> chan </item>
|
||||
<item> complex </item>
|
||||
<item> complex64 </item>
|
||||
<item> complex128 </item>
|
||||
<item> float </item>
|
||||
<item> float32 </item>
|
||||
<item> float64 </item>
|
||||
<item> int </item>
|
||||
|
@ -67,7 +65,7 @@
|
|||
<item> cap </item>
|
||||
<item> close </item>
|
||||
<item> closed </item>
|
||||
<item> cmplx </item>
|
||||
<item> complex </item>
|
||||
<item> copy </item>
|
||||
<item> imag </item>
|
||||
<item> len </item>
|
||||
|
|
|
@ -70,8 +70,8 @@ hi def link goRepeat Repeat
|
|||
syn keyword goType chan map bool string
|
||||
syn keyword goSignedInts int int8 int16 int32 int64
|
||||
syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr
|
||||
syn keyword goFloats float float32 float64
|
||||
syn keyword goComplexes complex complex64 complex128
|
||||
syn keyword goFloats float32 float64
|
||||
syn keyword goComplexes complex64 complex128
|
||||
|
||||
hi def link goType Type
|
||||
hi def link goSignedInts Type
|
||||
|
@ -85,7 +85,7 @@ syn match goType /\<func\>/
|
|||
syn match goDeclaration /^func\>/
|
||||
|
||||
" 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 goConstants iota true false nil
|
||||
|
||||
|
|
Loading…
Reference in a new issue