comparison runtime/syntax/debcontrol.vim @ 2625:0aa21d63aba0

Updated runtile files.
author Bram Moolenaar <bram@vim.org>
date Wed, 27 Oct 2010 18:34:44 +0200
parents b9e314fe473f
children fd09a9c8468e
comparison
equal deleted inserted replaced
2624:bfd69bfb4149 2625:0aa21d63aba0
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Debian control files 2 " Language: Debian control files
3 " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> 3 " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
4 " Former Maintainers: Gerfried Fuchs <alfie@ist.org> 4 " Former Maintainers: Gerfried Fuchs <alfie@ist.org>
5 " Wichert Akkerman <wakkerma@debian.org> 5 " Wichert Akkerman <wakkerma@debian.org>
6 " Last Change: 2009 Aug 17 6 " Last Change: 2010 Oct 21
7 " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/tip/runtime/syntax/debcontrol.vim 7 " URL: http://hg.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debcontrol.vim
8 8
9 " Standard syntax initialization 9 " Standard syntax initialization
10 if version < 600 10 if version < 600
11 syntax clear 11 syntax clear
12 elseif exists("b:current_syntax") 12 elseif exists("b:current_syntax")
25 25
26 " Define some common expressions we can use later on 26 " Define some common expressions we can use later on
27 syn match debcontrolArchitecture contained "\%(all\|any\|alpha\|amd64\|arm\%(e[bl]\)\=\|avr32\|hppa\|i386\|ia64\|lpia\|m32r\|m68k\|mips\%(el\)\=\|powerpc\|ppc64\|s390x\=\|sh[34]\(eb\)\=\|sh\|sparc\%(64\)\=\|hurd-i386\|kfreebsd-\%(i386\|amd64\|gnu\)\|knetbsd-i386\|kopensolaris-i386\|netbsd-\%(alpha\|i386\)\)" 27 syn match debcontrolArchitecture contained "\%(all\|any\|alpha\|amd64\|arm\%(e[bl]\)\=\|avr32\|hppa\|i386\|ia64\|lpia\|m32r\|m68k\|mips\%(el\)\=\|powerpc\|ppc64\|s390x\=\|sh[34]\(eb\)\=\|sh\|sparc\%(64\)\=\|hurd-i386\|kfreebsd-\%(i386\|amd64\|gnu\)\|knetbsd-i386\|kopensolaris-i386\|netbsd-\%(alpha\|i386\)\)"
28 syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+" 28 syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+"
29 syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)" 29 syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)"
30 syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|text|tex|utils|vcs|video|web|x11|xfce|zope)" 30 syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|text|tex|utils|vcs|video|web|x11|xfce|zope)"
31 syn match debcontrolPackageType contained "u\?deb" 31 syn match debcontrolPackageType contained "u\?deb"
32 syn match debcontrolVariable contained "\${.\{-}}" 32 syn match debcontrolVariable contained "\${.\{-}}"
33 syn match debcontrolDmUpload contained "\cyes" 33 syn match debcontrolDmUpload contained "\cyes"
34 34
35 " A URL (using the domain name definitions from RFC 1034 and 1738), right now 35 " A URL (using the domain name definitions from RFC 1034 and 1738), right now