From 5d2f21f513173157e60b8a9eb16a8abb92d5b3d9 Mon Sep 17 00:00:00 2001 From: MatthewCox Date: Wed, 16 Jul 2014 12:02:20 +0100 Subject: [PATCH] move the sh comment highlighter after the string highlighter --- sh.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh.nanorc b/sh.nanorc index d0552bc..1930532 100644 --- a/sh.nanorc +++ b/sh.nanorc @@ -9,6 +9,6 @@ color green "-[Ldefgruwx]\>" color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>" icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" -color cyan "(^|[[:space:]])#.*$" color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'" +color cyan "(^|[[:space:]])#.*$" #color ,green "[[:space:]]+$"