Init
This commit is contained in:
commit
edb22942f3
|
@ -0,0 +1,15 @@
|
||||||
|
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 "(\"|').*?(\"|')"
|
Loading…
Reference in New Issue