mirror of
https://github.com/scopatz/nanorc
synced 2024-11-25 01:45:39 +01:00
Remove dead code in Python definition
This commit is contained in:
parent
4bf49a725a
commit
49c839cfea
@ -41,13 +41,7 @@ color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
|
||||
color green "^#.*|[[:space:]]#.*$"
|
||||
|
||||
## block comments
|
||||
#color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''"
|
||||
#color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''"
|
||||
color yellow start=""""[^"]" end=""""" start="'''[^']" end="'''"
|
||||
#color cyan start="([[:space:]]"""|^""")" end=""""" start="'''[^']" end="'''"
|
||||
#color cyan start=""""" end=""""" start="'''" end="'''"
|
||||
#color cyan start="("""[^"]|[^"]""")" end="("""[^"]|[^"]""")" start="'''[^']" end="'''"
|
||||
#color cyan start="\"\"\"" end="\"\"\""
|
||||
|
||||
## trailing spaces
|
||||
color ,green "[[:space:]]+$"
|
||||
|
Loading…
Reference in New Issue
Block a user