aboutsummaryrefslogtreecommitdiff
path: root/lexers
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-10-05 11:43:59 +0200
committerChristian Hesse <mail@eworm.de>2016-10-05 11:52:16 +0200
commit3bf47e1efec9ced0d48660aa99762cf06eb5e897 (patch)
tree127438e872588a6f7c8b41e8dddda2b7034730f6 /lexers
parent3093bc26f52d84b8091315d873e506c5424149f5 (diff)
downloadvis-3bf47e1efec9ced0d48660aa99762cf06eb5e897.tar.gz
vis-3bf47e1efec9ced0d48660aa99762cf06eb5e897.tar.xz
lexers/pkgbuild: add a comment about pkgver, srcdir and startdir
Diffstat (limited to 'lexers')
-rw-r--r--lexers/pkgbuild.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lexers/pkgbuild.lua b/lexers/pkgbuild.lua
index 847fd8b..e20e9b4 100644
--- a/lexers/pkgbuild.lua
+++ b/lexers/pkgbuild.lua
@@ -53,6 +53,8 @@ local func = token(l.FUNCTION, word_match{
-- Constants.
local constant = token(l.CONSTANT, word_match{
+ -- We do *not* list pkgver, srcdir and startdir here.
+ -- These are defined by makepkg but user should not alter them.
'arch',
'backup',
'changelog',