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
|
||||
color yellow "'([^'\]|\\.)*'|"([^"\]|\\.)*"|'''|""""
|
||||
color yellow start="'''([^'),]|$)" end="(^|[^(\])'''"
|
||||
color yellow start=""""([^"),]|$)" end="(^|[^(\])""""
|
||||
|
||||
# Comments
|
||||
color grey "(^|[[:blank:]])#.*"
|
||||
color grey start="'''([^'),]|$)" end="(^|[^(\])'''"
|
||||
color grey start=""""([^"),]|$)" end="(^|[^(\])""""
|
||||
|
||||
# Redundant spaces
|
||||
color brightred,brightred "[[:space:]]+$"
|
||||
|
|
Loading…
Reference in New Issue