From 3093bc26f52d84b8091315d873e506c5424149f5 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 5 Oct 2016 11:41:45 +0200 Subject: lexers/pkgbuild: match functions with parentheses This solves a name conflict between 'pkgver' variable (which what highlighted in wrong color) and function. --- lexers/pkgbuild.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexers/pkgbuild.lua b/lexers/pkgbuild.lua index 4e4e059..847fd8b 100644 --- a/lexers/pkgbuild.lua +++ b/lexers/pkgbuild.lua @@ -49,7 +49,7 @@ local func = token(l.FUNCTION, word_match{ 'package', 'pkgver', 'prepare' -}) +} * '()') -- Constants. local constant = token(l.CONSTANT, word_match{ -- cgit v1.2.3