From ecd2a836d0891fcc8fe39e25cd55296421a06484 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 27 Nov 2015 10:16:46 +0900 Subject: [PATCH] fmt.Fprintln shouldn't highlight as builtin. --- syntax/go.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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