python: add async/await keywords highlighting

This commit is contained in:
roger 2018-11-12 13:20:18 +01:00
parent b96ab67479
commit b672e7c100

View File

@ -79,7 +79,7 @@ evaluate-commands %sh{
exceptions="${exceptions}|ZeroDivisionError" exceptions="${exceptions}|ZeroDivisionError"
# Keyword list is collected using `keyword.kwlist` from `keyword` # Keyword list is collected using `keyword.kwlist` from `keyword`
keywords="and|as|assert|break|class|continue|def|del|elif|else|except|exec" keywords="and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec"
keywords="${keywords}|finally|for|global|if|in|is|lambda|nonlocal|not|or|pass|print" keywords="${keywords}|finally|for|global|if|in|is|lambda|nonlocal|not|or|pass|print"
keywords="${keywords}|raise|return|try|while|with|yield" keywords="${keywords}|raise|return|try|while|with|yield"