vis

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

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

commit 2d513cffee2744f80aba664600e17e5b9acf0e4c
parent 389101aa1ea435623b981ed678b3b3270179a1e5
Author: Семён Марьясин <simeon@maryasin.name>
Date:   Fri,  1 Dec 2017 23:52:13 +0300

Python lexer: recognize python3's async/await keywords
Diffstat:
Mlua/lexers/python.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lua/lexers/python.lua b/lua/lexers/python.lua @@ -33,6 +33,7 @@ local number = token(l.NUMBER, l.float + integer) -- Keywords. local keyword = token(l.KEYWORD, word_match{ + 'async', 'await', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'print', 'raise',