Add python keywords async and await to highlight list

This commit is contained in:
Crazcalm 2019-10-07 14:41:40 -04:00
parent 98ad894b8a
commit 28d0c9f08c

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 "@.*[(]"