vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 452d89b0c94e821417b89232df73968b16d6fcd8 parent fce0bef03aaa6b1571eea0c8a32375f6ccd831cb Author: Murray Calavera <murray.calavera@gmail.com> Date: Sat, 27 Jan 2018 18:50:30 +0000 lexers: pony missing tilde for unsafe operators Diffstat:
| M | lua/lexers/pony.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/lexers/pony.lua b/lua/lexers/pony.lua @@ -52,7 +52,7 @@ local qualifier = token(l.LABEL, local operator = token(l.OPERATOR, pword{'and', 'or', 'xor', 'not', 'addressof', 'digestof'} - + lpeg.Cmt(S('+-*/%<>=!')^1, function(input, index, op) + + lpeg.Cmt(S('+-*/%<>=!~')^1, function(input, index, op) local ops = { ['+'] = true, ['-'] = true, ['*'] = true, ['/'] = true, ['%'] = true, ['+~'] = true, ['-~'] = true, ['*~'] = true, ['/~'] = true,