diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-02-19 09:17:33 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-02-19 09:17:33 +0100 |
| commit | 12e3036db281c2a3c4e2a62bf26923a8a5df3aec (patch) | |
| tree | 43562c3ee7165f565b513c8e271e993a44d48995 /lua/lexers/pony.lua | |
| parent | e9aba1387df1a0adf6ad1441f2ce30904fc35951 (diff) | |
| parent | 8c63ad66d93168064956e2848262543aa55013ec (diff) | |
| download | vis-12e3036db281c2a3c4e2a62bf26923a8a5df3aec.tar.gz vis-12e3036db281c2a3c4e2a62bf26923a8a5df3aec.tar.xz | |
Merge branch 'master' of https://github.com/ii8/vis
Diffstat (limited to 'lua/lexers/pony.lua')
| -rw-r--r-- | lua/lexers/pony.lua | 2 |
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, |
