mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
Added syntax higlighting for match and case keywords in python.
This commit is contained in:
parent
1aa64a86cf
commit
0485c291b9
@ -24,7 +24,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|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)\>"
|
color brightblue "\<(and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|map|match|not|or|pass|raise|return|try|with|while|yield)\>"
|
||||||
|
|
||||||
## decorators
|
## decorators
|
||||||
color brightgreen "@.*[(]"
|
color brightgreen "@.*[(]"
|
||||||
|
Loading…
Reference in New Issue
Block a user