vis

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

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

commit e3504d9b40597779b8890f62eeefec795a736735
parent 153447e7acca36654fc35146d72c123be5d0498c
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 28 Jan 2020 07:14:30 +0100

lexers: add case keyword to rc lexer

Close #761

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

diff --git a/lua/lexers/rc.lua b/lua/lexers/rc.lua @@ -31,7 +31,7 @@ local number = token(l.NUMBER, l.integer + l.float) -- Keywords. local keyword = token(l.KEYWORD, word_match({ - 'for', 'in', 'while', 'if', 'not', 'switch', 'fn', + 'for', 'in', 'while', 'if', 'not', 'switch', 'case', 'fn', 'builtin', 'cd', 'eval', 'exec', 'exit', 'flag', 'rfork', 'shift', 'ulimit', 'umask', 'wait', 'whatis', '.', '~', }, '!"%*+,-./:?@[]~'))