mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge pull request #252 from crazcalm/add_python_async_keywords
Add python async and await keywords
This commit is contained in:
commit
9f6482ef2c
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ color brightcyan "\<(NoneType|TypeType|IntType|LongType|FloatType|ComplexType|St
|
||||||
## definitions
|
## definitions
|
||||||
color brightcyan "def [a-zA-Z_0-9]+"
|
color brightcyan "def [a-zA-Z_0-9]+"
|
||||||
## keywords
|
## 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
|
## decorators
|
||||||
color brightgreen "@.*[(]"
|
color brightgreen "@.*[(]"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue