vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit f06ce25ccf5581c4e353d9153f728d5f718cf39f parent c8b93d65c6065c48c085feff41ec2ec85e5610f8 Author: Tynan Colin Beatty <junsuijin@gmail.com> Date: Sun, 7 May 2017 15:10:41 -0500 Add a whitespace rule for the "elixir" lexer. Diffstat:
| M | lua/lexers/elixir.lua | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lua/lexers/elixir.lua b/lua/lexers/elixir.lua @@ -104,6 +104,7 @@ local operator2 = P('!==') + '!=' + '!' + '=~' + '===' + '==' + '=' + '<<<' + local operator_token = token(l.OPERATOR, operator1 + operator2) M._rules = { + {'whitespace', ws}, {'sigil', sigil_token * sigiladdon_token}, {'atom', atom_token}, {'string', string},