github.com/varialus/godfly@v0.0.0-20130904042352-1934f9f095ab/misc/vim/syntax/godoc.vim (about) 1 " Copyright 2011 The Go Authors. All rights reserved. 2 " Use of this source code is governed by a BSD-style 3 " license that can be found in the LICENSE file. 4 5 if exists("b:current_syntax") 6 finish 7 endif 8 9 syn case match 10 syn match godocTitle "^\([A-Z]*\)$" 11 12 command -nargs=+ HiLink hi def link <args> 13 14 HiLink godocTitle Title 15 16 delcommand HiLink 17 18 let b:current_syntax = "godoc" 19 20 " vim:ts=4 sts=2 sw=2: