]> Cypherpunks repositories - gostls13.git/commitdiff
Add 'copy' as a Go builtin function for Vim syntax highlighter spec.
authorDavid Symonds <dsymonds@golang.org>
Wed, 2 Dec 2009 00:45:21 +0000 (16:45 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 2 Dec 2009 00:45:21 +0000 (16:45 -0800)
R=rsc
https://golang.org/cl/163049

misc/vim/go.vim

index 4d6a743ac0fde318e06383d43700e2ee2a844986..db3903af7adfbfaacc8906d006ad647a00d1194f 100644 (file)
@@ -83,7 +83,7 @@ syn match       goType              /\<func\>/
 syn match       goDeclaration       /^func\>/
 
 " Predefined functions and values
-syn keyword     goBuiltins          cap close closed convert len make new panic panicln print println
+syn keyword     goBuiltins          cap close closed convert copy len make new panic panicln print println
 syn keyword     goConstants         iota true false nil
 
 hi def link     goBuiltins          Keyword