vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit ca70deabf7067706f162dca40c35d233afe27e7d
parent 8f0eb05cb8b921ed7ad9d1da4c4bfb7f51dc30cd
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu,  2 Feb 2017 20:46:42 +0100

lexer: fix scheme token rule ordering

This should fix #412 properly.

Diffstat:
Mlua/lexers/scheme.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/lexers/scheme.lua b/lua/lexers/scheme.lua @@ -79,9 +79,9 @@ local operator = token(l.OPERATOR, S('<>=*/+-`@%:()')) local entity = token('entity', '&' * word) M._rules = { - {'func', func}, {'whitespace', ws}, {'keyword', keyword}, + {'func', func}, {'identifier', identifier}, {'string', string}, {'comment', comment},