r1064 - /trunk/runtime/syntax/debcontrol.vim
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sun Oct 14 15:26:19 UTC 2007
Author: madduck
Date: Sun Oct 14 15:26:19 2007
New Revision: 1064
URL: http://svn.debian.org/wsvn/?sc=1&rev=1064
Log:
use/enable new Vcs-* syntax
Modified:
trunk/runtime/syntax/debcontrol.vim
Modified: trunk/runtime/syntax/debcontrol.vim
URL: http://svn.debian.org/wsvn/trunk/runtime/syntax/debcontrol.vim?rev=1064&op=diff
==============================================================================
--- trunk/runtime/syntax/debcontrol.vim (original)
+++ trunk/runtime/syntax/debcontrol.vim Sun Oct 14 15:26:19 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\|Homepage\|XS-Vcs-\a\+\): *"
+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\|Homepage\|XS-Vcs-\a\+\):" 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