vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit c0fa55fce9f2c6e210389456ecb027c4400baa71 parent 2a68e4f9b99646ceb6168f54c0b65ac42173853a Author: Christian Hesse <mail@eworm.de> Date: Wed, 5 Oct 2016 11:41:45 +0200 lexers/pkgbuild: match functions with parentheses This solves a name conflict between 'pkgver' variable (which what highlighted in wrong color) and function. Diffstat:
| M | lexers/pkgbuild.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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{