From 7efcacca6d6008698675a642663c186f641a9934 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 21:37:13 +0100 Subject: [PATCH 01/19] Color trailing whitespace green --- apacheconf.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apacheconf.nanorc b/apacheconf.nanorc index ad08240..f1325e6 100644 --- a/apacheconf.nanorc +++ b/apacheconf.nanorc @@ -42,3 +42,6 @@ color brightcyan ")" color green "\"(\\.|[^\"])*\"" color white "#.*" + +## Trailing spaces +color ,green "[[:space:]]+$" From e5cb3e8d3086afce12d51dbbbdde43991d2e6332 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 21:47:45 +0100 Subject: [PATCH 02/19] Color trailing whitespace green --- conf.nanorc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf.nanorc b/conf.nanorc index 0cfb890..cf9f58a 100644 --- a/conf.nanorc +++ b/conf.nanorc @@ -7,3 +7,5 @@ icolor white ""(\\.|[^"])*"" ## Comments icolor brightblue "^[[:space:]]*#.*$" icolor cyan "^[[:space:]]*##.*$" +## Trailing spaces +color ,green "[[:space:]]+$" From 55ef33c37f5d474dd611a60235bc030871302ecd Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 21:50:19 +0100 Subject: [PATCH 03/19] Color trailing whitespace green --- css.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/css.nanorc b/css.nanorc index 69c844b..3e6b83c 100644 --- a/css.nanorc +++ b/css.nanorc @@ -8,3 +8,6 @@ color brightwhite start=":" end="[;^\{]" color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$" color brightblue start="\/\*" end="\*\/" color green ";|:|\{|\}" + +## Trailing spaces +color ,green "[[:space:]]+$" From b02326b48fe8456d209910b17b5cd4cf93bda517 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 21:56:28 +0100 Subject: [PATCH 04/19] Color trailing whitespace green --- cython.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cython.nanorc b/cython.nanorc index d1c8df7..0f73704 100644 --- a/cython.nanorc +++ b/cython.nanorc @@ -28,3 +28,6 @@ color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" # Comment Color color brightblue "#.*$" + +## Trailing spaces +color ,green "[[:space:]]+$" From 8266c06827a449cb6a83afdc2cf2139bfe2ca470 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 21:58:21 +0100 Subject: [PATCH 05/19] Color trailing whitespace green --- erb.nanorc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erb.nanorc b/erb.nanorc index 17bfed6..9a581b2 100644 --- a/erb.nanorc +++ b/erb.nanorc @@ -22,3 +22,5 @@ color brightcyan "##[^{].*$" "##$" color green start="<<-?'?EOT'?" end="^EOT" color brightcyan "(XXX|TODO|FIXME|\?\?\?)" +## Trailing spaces +color ,green "[[:space:]]+$" From 3ce3cb913320d406a40e148d2fd818ea64284a97 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 21:59:24 +0100 Subject: [PATCH 06/19] Color trailing whitespace green --- fortran.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fortran.nanorc b/fortran.nanorc index 7b45e61..2b77e6b 100644 --- a/fortran.nanorc +++ b/fortran.nanorc @@ -48,3 +48,6 @@ icolor cyan "<[^= ]*>" "'(\\.|[^"])*'" ## Comment highlighting icolor brightred "!.*$" "(^[Cc]| [Cc]) .*$" + +## Trailing spaces +color ,green "[[:space:]]+$" From 10a47587e02d938b532244ad7eee4c4bc2cbfa32 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:00:19 +0100 Subject: [PATCH 07/19] Color trailing whitespace green --- haml.nanorc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/haml.nanorc b/haml.nanorc index 6c848e7..3337882 100644 --- a/haml.nanorc +++ b/haml.nanorc @@ -14,3 +14,5 @@ color brightblue "(@|@@)[0-9A-Z_a-z]+" ## Comments color brightcyan "#[^{].*$" "#$" +## Trailing spaces +color ,green "[[:space:]]+$" From 60bd52d24d15e55039daa8b83cf56b974cc3cc26 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:02:16 +0100 Subject: [PATCH 08/19] Color trailing whitespace green --- haskell.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/haskell.nanorc b/haskell.nanorc index 58e817d..2b37ecf 100644 --- a/haskell.nanorc +++ b/haskell.nanorc @@ -29,3 +29,6 @@ color green "--.*" color green start="\{-" end="-\}" color brightred "undefined" + +## Trailing spaces +color ,green "[[:space:]]+$" From 64896f535d28a2d75777e3d68037d5924df3dad7 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:03:16 +0100 Subject: [PATCH 09/19] Color trailing whitespace green --- html.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html.nanorc b/html.nanorc index 32d47d4..dd01965 100644 --- a/html.nanorc +++ b/html.nanorc @@ -6,3 +6,6 @@ color red "&[^;[[:space:]]]*;" color yellow ""[^"]*"|qq\|.*\|" color red "(action|alt|bgcolor|height|href|id|label|longdesc|method|name|onclick|onfocus|onload|onmouseover|rel|size|span|src|style|target|title|type|value|width)=" color magenta start="" + +## Trailing spaces +color ,green "[[:space:]]+$" From d3d7b097385a5672f5327938e17570e50d5cf334 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:04:38 +0100 Subject: [PATCH 10/19] Color trailing whitespace green --- js.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js.nanorc b/js.nanorc index 295758b..65cf389 100644 --- a/js.nanorc +++ b/js.nanorc @@ -38,6 +38,9 @@ color red "\<(true|false)\>" color brightyellow "L?\"(\\"|[^"])*\"" color brightyellow "L?'(\'|[^'])*'" +## Trailing spaces +color ,green "[[:space:]]+$" + ## Escapes color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]" From d3a313afd8951a65b0767707089151c687b84a4c Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:06:12 +0100 Subject: [PATCH 11/19] Color trailing whitespace green --- markdown.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/markdown.nanorc b/markdown.nanorc index d50cafb..9d3fd9e 100644 --- a/markdown.nanorc +++ b/markdown.nanorc @@ -45,3 +45,6 @@ color yellow "`[^`]*`|^ {4}[^-+*].*" # code blocks color yellow start="^```[^$]" end="^```$" color yellow "^```$" + +## Trailing spaces +color ,green "[[:space:]]+$" From 6ba232240945c51ab6d0a4964b89d8a3855442e0 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:07:25 +0100 Subject: [PATCH 12/19] Color trailing whitespace green --- ocaml.nanorc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocaml.nanorc b/ocaml.nanorc index 49ba151..f5cd2c7 100644 --- a/ocaml.nanorc +++ b/ocaml.nanorc @@ -23,3 +23,5 @@ color yellow "\<(new|ref|mutable|lazy|assert|raise)\>" color white start="\(\*" end="\*\)" #strings (no multiline handling yet) color brightblack ""[^\"]*"" +## Trailing spaces +color ,green "[[:space:]]+$" From 0ca37f9fdd8e9cdaddabd243cee017638afc4891 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:10:38 +0100 Subject: [PATCH 13/19] Color trailing whitespace green --- perl.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl.nanorc b/perl.nanorc index 3c05ad5..3e629b9 100644 --- a/perl.nanorc +++ b/perl.nanorc @@ -11,3 +11,6 @@ color white "[sm]/.*/" color white start="(^use| = new)" end=";" color green "#.*" color yellow start="<< 'STOP'" end="STOP" + +## Trailing spaces +color ,green "[[:space:]]+$" From 81aa8c3455ad0c6b447460cd9d6fbc295bdd6f2f Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:11:12 +0100 Subject: [PATCH 14/19] Color trailing whitespace green --- perl6.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl6.nanorc b/perl6.nanorc index 10d39d3..572ef04 100644 --- a/perl6.nanorc +++ b/perl6.nanorc @@ -14,3 +14,6 @@ color white "[sm]/.*/" color brightblue start="(^use| = new)" end=";" color brightgreen "#.*" color brightred start="< Date: Tue, 6 Dec 2016 22:13:04 +0100 Subject: [PATCH 15/19] Color trailing whitespace green --- python.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python.nanorc b/python.nanorc index 8f14bfb..29b9e3c 100644 --- a/python.nanorc +++ b/python.nanorc @@ -47,3 +47,6 @@ color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''" #color cyan start=""""" end=""""" start="'''" end="'''" #color cyan start="("""[^"]|[^"]""")" end="("""[^"]|[^"]""")" start="'''[^']" end="'''" #color cyan start="\"\"\"" end="\"\"\"" + +## Trailing spaces +color ,green "[[:space:]]+$" From 3cfc98eb571369d258ae6541569d4face2902995 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:14:27 +0100 Subject: [PATCH 16/19] Color trailing whitespace green --- ruby.nanorc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruby.nanorc b/ruby.nanorc index f192746..ca4f3a6 100644 --- a/ruby.nanorc +++ b/ruby.nanorc @@ -30,3 +30,5 @@ color brightcyan "##[^{].*$" "##$" color green start="<<-?'?EOT'?" end="^EOT" ## Some common markers color brightcyan "(XXX|TODO|FIXME|\?\?\?)" +## Trailing spaces +color ,green "[[:space:]]+$" From 1c1897e8f4d2890056e54e71ff04aa833832257c Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:15:38 +0100 Subject: [PATCH 17/19] Color trailing whitespace green --- rust.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust.nanorc b/rust.nanorc index 06ace6a..3d3c17a 100644 --- a/rust.nanorc +++ b/rust.nanorc @@ -34,3 +34,6 @@ color magenta start="#!\[" end="\]" # Some common markers color brightcyan "(XXX|TODO|FIXME|\?\?\?)" + +## Trailing spaces +color ,green "[[:space:]]+$" From 54d9e4eee672106c82c9b9bcd4f19cf6fd520c78 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:17:01 +0100 Subject: [PATCH 18/19] Color trailing whitespace green --- sls.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sls.nanorc b/sls.nanorc index bd78d6a..c8affff 100644 --- a/sls.nanorc +++ b/sls.nanorc @@ -24,3 +24,6 @@ color brightblack "^#.*" # Logic keywords color magenta "\<(if|elif|else|or|not|and|endif|end)\>" + +## Trailing spaces +color ,green "[[:space:]]+$" From 2f4a44f83879f986bda65f02f64709dd084cc413 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:19:02 +0100 Subject: [PATCH 19/19] Color trailing whitespace green --- xml.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xml.nanorc b/xml.nanorc index 47542c6..8ad5a32 100644 --- a/xml.nanorc +++ b/xml.nanorc @@ -9,3 +9,6 @@ color cyan ">" color yellow start="" color yellow start="" color red "&[^;]*;" + +## Trailing spaces +color ,green "[[:space:]]+$"