Parameter types are white now and other improvements

This commit is contained in:
Mal 2022-05-21 23:23:06 +02:00
parent edb22942f3
commit b1b011349c
1 changed files with 16 additions and 10 deletions

View File

@ -1,15 +1,21 @@
#
# Monokai like theme for python as used in PyCharm IDE
#
syntax python "\.py$"
header "^#!.*python"
magic "Python script"
comment "#"
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 red "(=|·|\/|\+|-|\*|\!|>|<|:)"
color white "(\(|\)|,|\.)"
color brightmagenta "([0-9]|[0-9]+\.[0-9]+|self)"
color grey "#.*"
color yellow "(\"|').*?(\"|')"
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 "(\"|').*?(\"|')"