Skip to content

Commit 451f8a0

Browse files
committed
goPredefinedIdentifiers should link to goBoolean by default
1 parent d9fa1bc commit 451f8a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/go.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ hi def link goComplexes Type
127127
" Predefined functions and values
128128
syn match goBuiltins /\<\v(append|cap|close|complex|copy|delete|imag|len)\ze\(/
129129
syn match goBuiltins /\<\v(make|new|panic|print|println|real|recover)\ze\(/
130-
syn keyword goPredefinedIdentifiers nil iota
131130
syn keyword goBoolean true false
131+
syn keyword goPredefinedIdentifiers nil iota
132132

133133
hi def link goBuiltins Keyword
134-
hi def link goPredefinedIdentifiers Identifier
135134
hi def link goBoolean Boolean
135+
hi def link goPredefinedIdentifiers goBoolean
136136

137137
" Comments; their contents
138138
syn keyword goTodo contained TODO FIXME XXX BUG

0 commit comments

Comments
 (0)