From 0f2ad69b02e5eaa65a7a4e8ea12aeb2474acf15e Mon Sep 17 00:00:00 2001 From: Simon Volpert Date: Wed, 14 Mar 2018 18:29:17 +0200 Subject: [PATCH] Make Python quoted strings brown --- python.nanorc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python.nanorc b/python.nanorc index f1b27d3..5016a33 100644 --- a/python.nanorc +++ b/python.nanorc @@ -41,8 +41,9 @@ color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}" color green "#.*$" ## block comments -color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''" +#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="'''"