mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
contrib: add 'groups' keyword to PKGBUILD.vim
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
d49f42ba75
commit
7613f2e21a
@ -70,6 +70,11 @@ syn keyword pbArch i686 x86_64 ppc contained
|
|||||||
syn match pbIllegalArch /[^='() ]/ contained contains=pbArch
|
syn match pbIllegalArch /[^='() ]/ contained contains=pbArch
|
||||||
syn match pbArchGroup /^arch=.*/ contains=pb_k_arch,pbArch,pbIllegalArch,shDoubleQuote,shSingleQuote
|
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
|
" makedepends
|
||||||
syn keyword pb_k_makedepends makedepends contained
|
syn keyword pb_k_makedepends makedepends contained
|
||||||
syn match pbValidMakedepends /\([[:alnum:]]\|+\|-\|_\)*/ 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 pb_k_arch pbKeywords
|
||||||
hi def link pbIllegalArch Error
|
hi def link pbIllegalArch Error
|
||||||
|
|
||||||
|
hi def link pb_k_groups pbKeywords
|
||||||
hi def link pb_k_makedepends pbKeywords
|
hi def link pb_k_makedepends pbKeywords
|
||||||
hi def link pb_k_depends pbKeywords
|
hi def link pb_k_depends pbKeywords
|
||||||
hi def link pb_k_replaces pbKeywords
|
hi def link pb_k_replaces pbKeywords
|
||||||
|
Loading…
Reference in New Issue
Block a user