Parameter types are white now and other improvements
This commit is contained in:
parent
edb22942f3
commit
b1b011349c
|
@ -1,15 +1,21 @@
|
||||||
|
#
|
||||||
|
# Monokai like theme for python as used in PyCharm IDE
|
||||||
|
#
|
||||||
|
|
||||||
syntax python "\.py$"
|
syntax python "\.py$"
|
||||||
header "^#!.*python"
|
header "^#!.*python"
|
||||||
magic "Python script"
|
magic "Python script"
|
||||||
comment "#"
|
comment "#"
|
||||||
|
|
||||||
|
color white ".*"
|
||||||
color cyan "\w+\("
|
color cyan "\w+\("
|
||||||
color orange "def \w+\(.*\):"
|
color orange "def \w+\(.*\):"
|
||||||
color green "def \w+\("
|
color green "def \w+\("
|
||||||
color brightcyan "\b(class|def|import|return|for|while|in|if|elif|else|raise|is|not|and|or|with|continue|break|try|except|finally)(:| )"
|
color brightcyan "\b(class|def|import|return|for|while|in|if|elif|else|raise|is|not|and|or|with|continue|break|try|except|finally)(:| )"
|
||||||
color cyan "\b(True|False|None)"
|
color cyan "\b(True|False|None)"
|
||||||
|
color white ": *\w+ *(,|\))"
|
||||||
color red "(=|·|\/|\+|-|\*|\!|>|<|:)"
|
color red "(=|·|\/|\+|-|\*|\!|>|<|:)"
|
||||||
color white "(\(|\)|,|\.)"
|
color white "(\(|\)|,|\.|->)"
|
||||||
color brightmagenta "([0-9]|[0-9]+\.[0-9]+|self)"
|
color brightmagenta "([0-9]|[0-9]+\.[0-9]+|self)"
|
||||||
color grey "#.*"
|
color grey "#.*"
|
||||||
color yellow "(\"|').*?(\"|')"
|
color yellow "(\"|').*?(\"|')"
|
||||||
|
|
Loading…
Reference in New Issue