summaryrefslogtreecommitdiffstats
path: root/contrib/PKGBUILD.vim
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-03-01 23:24:42 +0100
committerDan McGee <dan@archlinux.org>2008-03-01 23:24:42 +0100
commit73ac9f7b27c3da538dad0f59c28f67badbb43a64 (patch)
treea8dffd3a8076da7ebcd7bf4b92626caf92d0d7c5 /contrib/PKGBUILD.vim
parentd734ebdde270c1e13e3b910e731bea88d874a51c (diff)
parentaecc2fd19037d0580df9600628acace93cb0dd46 (diff)
downloadpacman-73ac9f7b27c3da538dad0f59c28f67badbb43a64.tar.gz
pacman-73ac9f7b27c3da538dad0f59c28f67badbb43a64.tar.xz
Merge branch 'maint'
Diffstat (limited to 'contrib/PKGBUILD.vim')
-rw-r--r--contrib/PKGBUILD.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/PKGBUILD.vim b/contrib/PKGBUILD.vim
index 86862e2e..b2a8d2f8 100644
--- a/contrib/PKGBUILD.vim
+++ b/contrib/PKGBUILD.vim
@@ -70,6 +70,11 @@ syn keyword pbArch i686 x86_64 ppc contained
syn match pbIllegalArch /[^='() ]/ contained contains=pbArch
syn match pbArchGroup /^arch=.*/ contains=pb_k_arch,pbArch,pbIllegalArch,shDoubleQuote,shSingleQuote
+" groups
+syn keyword pb_k_groups groups contained
+syn match pbValidGroups /\([[:alnum:]]\|+\|-\|_\)*/ contained
+syn region pbGroupsGroup start=/^groups=(/ end=/)/ contains=pb_k_groups,pbValidGroups,shDoubleQuote,shSingleQuote
+
" makedepends
syn keyword pb_k_makedepends makedepends contained
syn match pbValidMakedepends /\([[:alnum:]]\|+\|-\|_\)*/ contained
@@ -195,6 +200,7 @@ hi def link pb_k_backup pbKeywords
hi def link pb_k_arch pbKeywords
hi def link pbIllegalArch Error
+hi def link pb_k_groups pbKeywords
hi def link pb_k_makedepends pbKeywords
hi def link pb_k_depends pbKeywords
hi def link pb_k_replaces pbKeywords