From 3bf47e1efec9ced0d48660aa99762cf06eb5e897 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 5 Oct 2016 11:43:59 +0200 Subject: lexers/pkgbuild: add a comment about pkgver, srcdir and startdir --- lexers/pkgbuild.lua | 2 ++ 1 file changed, 2 insertions(+) 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', -- cgit v1.2.3