Multiline strings for python are yellow now
This commit is contained in:
parent
da134c1fe6
commit
ae79b9f568
|
@ -45,11 +45,11 @@ color brightmagenta "([0-9]|[0-9]+\.[0-9]+|self)"
|
||||||
|
|
||||||
# Strings
|
# Strings
|
||||||
color yellow "'([^'\]|\\.)*'|"([^"\]|\\.)*"|'''|""""
|
color yellow "'([^'\]|\\.)*'|"([^"\]|\\.)*"|'''|""""
|
||||||
|
color yellow start="'''([^'),]|$)" end="(^|[^(\])'''"
|
||||||
|
color yellow start=""""([^"),]|$)" end="(^|[^(\])""""
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
color grey "(^|[[:blank:]])#.*"
|
color grey "(^|[[:blank:]])#.*"
|
||||||
color grey start="'''([^'),]|$)" end="(^|[^(\])'''"
|
|
||||||
color grey start=""""([^"),]|$)" end="(^|[^(\])""""
|
|
||||||
|
|
||||||
# Redundant spaces
|
# Redundant spaces
|
||||||
color brightred,brightred "[[:space:]]+$"
|
color brightred,brightred "[[:space:]]+$"
|
||||||
|
|
Loading…
Reference in New Issue