Merge pull request #252 from crazcalm/add_python_async_keywords

Add python async and await keywords
This commit is contained in:
Anthony Scopatz 2019-10-07 15:02:14 -04:00 committed by GitHub
commit 9f6482ef2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ color brightcyan "\<(NoneType|TypeType|IntType|LongType|FloatType|ComplexType|St
## definitions
color brightcyan "def [a-zA-Z_0-9]+"
## keywords
color brightblue "\<(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|raise|return|try|with|while|yield)\>"
color brightblue "\<(and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|raise|return|try|with|while|yield)\>"
## decorators
color brightgreen "@.*[(]"