diff options
| author | Tynan Colin Beatty <junsuijin@gmail.com> | 2017-05-07 15:10:41 -0500 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-05-12 11:30:57 +0200 |
| commit | 3e433c98f5c1006d2a4f0f1c139573b9ac478435 (patch) | |
| tree | 63d9ffba7ca9ea787119f03e212a6dbb73f4e4b9 /lua/lexers | |
| parent | 3d481458a81bed6ae6863d0cef466801588b30fb (diff) | |
| download | vis-3e433c98f5c1006d2a4f0f1c139573b9ac478435.tar.gz vis-3e433c98f5c1006d2a4f0f1c139573b9ac478435.tar.xz | |
Add a whitespace rule for the "elixir" lexer.
Diffstat (limited to 'lua/lexers')
| -rw-r--r-- | lua/lexers/elixir.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lexers/elixir.lua b/lua/lexers/elixir.lua index dd2a568..4863e4a 100644 --- 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}, |
