From 7613f2e21aa4df72e7a520b2cd80c592a0cb63a2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 28 Feb 2008 22:10:28 -0600 Subject: [PATCH] contrib: add 'groups' keyword to PKGBUILD.vim Signed-off-by: Dan McGee --- contrib/PKGBUILD.vim | 6 ++++++ 1 file changed, 6 insertions(+) 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