2022-05-21 23:23:06 +02:00
|
|
|
#
|
|
|
|
# Monokai like theme for python as used in PyCharm IDE
|
|
|
|
#
|
|
|
|
|
2022-05-21 22:21:28 +02:00
|
|
|
syntax python "\.py$"
|
|
|
|
header "^#!.*python"
|
|
|
|
magic "Python script"
|
|
|
|
comment "#"
|
|
|
|
|
2022-05-21 23:23:06 +02:00
|
|
|
color white ".*"
|
|
|
|
color cyan "\w+\("
|
|
|
|
color orange "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 cyan "\b(True|False|None)"
|
|
|
|
color white ": *\w+ *(,|\))"
|
|
|
|
color red "(=|·|\/|\+|-|\*|\!|>|<|:)"
|
|
|
|
color white "(\(|\)|,|\.|->)"
|
|
|
|
color brightmagenta "([0-9]|[0-9]+\.[0-9]+|self)"
|
|
|
|
color grey "#.*"
|
|
|
|
color yellow "(\"|').*?(\"|')"
|