r1023 - /trunk/runtime/syntax/debcontrol.vim

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Fri Sep 21 19:20:39 UTC 2007


Author: jamessan
Date: Fri Sep 21 19:20:38 2007
New Revision: 1023

URL: http://svn.debian.org/wsvn/?sc=1&rev=1023
Log:
Add "Homepage:" and "XS-Vcs-*:" recognition

Modified:
    trunk/runtime/syntax/debcontrol.vim

Modified: trunk/runtime/syntax/debcontrol.vim
URL: http://svn.debian.org/wsvn/trunk/runtime/syntax/debcontrol.vim?rev=1023&op=diff
==============================================================================
--- trunk/runtime/syntax/debcontrol.vim (original)
+++ trunk/runtime/syntax/debcontrol.vim Fri Sep 21 19:20:38 2007
@@ -36,7 +36,7 @@
 syn match	debcontrolEmail	"<.\{-}>"
 
 " List of all legal keys
-syn match debcontrolKey contained "^\(Source\|Package\|Section\|Priority\|Maintainer\|Uploaders\|Build-Depends\|Build-Conflicts\|Build-Depends-Indep\|Build-Conflicts-Indep\|Standards-Version\|Pre-Depends\|Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Essential\|Architecture\|Description\|Bugs\|Origin\|Enhances\): *"
+syn match debcontrolKey contained "^\(Source\|Package\|Section\|Priority\|Maintainer\|Uploaders\|Build-Depends\|Build-Conflicts\|Build-Depends-Indep\|Build-Conflicts-Indep\|Standards-Version\|Pre-Depends\|Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Essential\|Architecture\|Description\|Bugs\|Origin\|Enhances\|Homepage\|XS-Vcs-\a\+\): *"
 
 " Fields for which we do strict syntax checking
 syn region debcontrolStrictField start="^Architecture" end="$" contains=debcontrolKey,debcontrolArchitecture,debcontrolSpace oneline
@@ -48,7 +48,7 @@
 syn match debcontrolComment "^#.*$"
 
 " Catch-all for the other legal fields
-syn region debcontrolField start="^\(Maintainer\|Build-Depends\|Build-Conflicts\|Build-Depends-Indep\|Build-Conflicts-Indep\|Standards-Version\|Pre-Depends\|Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Essential\|Bugs\|Origin\|Enhances\|X\(S\|B\)-Python-Version\):" end="$" contains=debcontrolKey,debcontrolVariable,debcontrolEmail oneline
+syn region debcontrolField start="^\(Maintainer\|Build-Depends\|Build-Conflicts\|Build-Depends-Indep\|Build-Conflicts-Indep\|Standards-Version\|Pre-Depends\|Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Essential\|Bugs\|Origin\|Enhances\|X\(S\|B\)-Python-Version\|Homepage\|XS-Vcs-\a\+\):" end="$" contains=debcontrolKey,debcontrolVariable,debcontrolEmail oneline
 syn region debcontrolMultiField start="^\(Uploaders\|Description\):" skip="^ " end="^$"me=s-1 end="^[^ ]"me=s-1 contains=debcontrolKey,debcontrolEmail,debcontrolVariable
 
 " Associate our matches and regions with pretty colours




More information about the pkg-vim-maintainers mailing list