We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ea1ead + d52c164 commit fe85bd6Copy full SHA for fe85bd6
syntax/go.vim
@@ -117,8 +117,8 @@ syn match goDeclaration /\<func\>/
117
118
119
" Predefined functions and values
120
-syn keyword goBuiltins append cap close complex copy delete imag len
121
-syn keyword goBuiltins make new panic print println real recover
+syn match goBuiltins /\v(append|cap|close|complex|copy|delete|imag|len)\ze\(/
+syn match goBuiltins /\v(make|new|panic|print|println|real|recover)\ze\(/
122
syn keyword goBoolean iota true false nil
123
124
hi def link goBuiltins Keyword
0 commit comments