diff --git a/syntax/go.vim b/syntax/go.vim index 5d4756de14..4113efb73f 100644 --- a/syntax/go.vim +++ b/syntax/go.vim @@ -117,8 +117,8 @@ syn match goDeclaration /\/ " Predefined functions and values -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\(/ +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\(/ syn keyword goBoolean iota true false nil hi def link goBuiltins Keyword