aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lexers/pony.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lexers/pony.lua b/lua/lexers/pony.lua
index f1d4e59..618a9bf 100644
--- 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,