From 49c839cfea998b9520c2f822c12d0b3bd8bc0691 Mon Sep 17 00:00:00 2001 From: Simon Volpert Date: Fri, 4 Jan 2019 16:31:34 +0200 Subject: [PATCH] Remove dead code in Python definition --- python.nanorc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python.nanorc b/python.nanorc index f19e170..d34d191 100644 --- a/python.nanorc +++ b/python.nanorc @@ -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:]]+$"