PKGBUILD.vim: improve 'options' highlighting, add extra keywords
commit632912261a03474a14830402a1e43ae57a0557ff
authorJason St. John <jstjohn@purdue.edu>
Mon, 6 Aug 2012 18:29:48 +0000 (6 14:29 -0400)
committerDan McGee <dan@archlinux.org>
Wed, 8 Aug 2012 01:59:27 +0000 (7 20:59 -0500)
tree93aeb5bc1729bef4a7cf2003dd2071db57c9d5a7
parentc52bb7030c2f04a2e36657042ba54d5c94de1bbf
PKGBUILD.vim: improve 'options' highlighting, add extra keywords

This fixes the current syntax highlighting behavior in the 'options'
array, which does *not* flag illegal options (e.g. typos, unsupported
options). The shDoubleQuote and shSingleQuote options were the culprits.
Now, if you enter `'!imptydurs'`, the typoed option will be flagged red.

I also added syntax highlighting for the new options listed in `man 5
makepkg.conf`, which I believe were introduced around pacman 4.0.0.

Signed-off-by: Jason St. John <jstjohn@purdue.edu>
Signed-off-by: Dan McGee <dan@archlinux.org>
contrib/PKGBUILD.vim