]> Cypherpunks repositories - gostls13.git/commitdiff
misc/vim: "PACKAGE DOCUMENTATION" is not hilighted
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Fri, 27 Sep 2013 02:57:09 +0000 (12:57 +1000)
committerDavid Symonds <dsymonds@golang.org>
Fri, 27 Sep 2013 02:57:09 +0000 (12:57 +1000)
R=golang-dev, r, dsymonds
CC=golang-dev
https://golang.org/cl/14018043

misc/vim/syntax/godoc.vim

index 82f78aa3c384dd7e3c1f8f2b5696e13c18c9247e..bd4443f7c469f88fb5f79590a54a034ed2faaf00 100644 (file)
@@ -7,7 +7,7 @@ if exists("b:current_syntax")
 endif
 
 syn case match
-syn match  godocTitle "^\([A-Z]*\)$"
+syn match  godocTitle "^\([A-Z][A-Z ]*\)$"
 
 command -nargs=+ HiLink hi def link <args>