From b31ddc56454b98b7f597380e378b90f7826ade5d Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Sun, 11 May 2014 18:41:00 -0400 Subject: [PATCH 1/2] Fixed css comment highlighting. Removed extra whitespace. --- css.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css.nanorc b/css.nanorc index faf783a..9115c07 100644 --- a/css.nanorc +++ b/css.nanorc @@ -4,7 +4,7 @@ syntax "css" "\.css$" color brightred "." color brightyellow start="\{" end="\}" -color brightwhite start=":" end="[;^\{]" +color brightwhite start=":" end="[;^\{]" color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$" -color brightblue start="\/\*" end="\\*/" +color brightblue start="\/\*" end="\*\/" color green ";|:|\{|\}" From 56f3b17cbcab642bcba4f1eaa9bbccd81ce032dd Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Mon, 12 May 2014 00:57:15 -0400 Subject: [PATCH 2/2] Changed css file regex to also match scss files. --- css.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css.nanorc b/css.nanorc index 9115c07..d002ad6 100644 --- a/css.nanorc +++ b/css.nanorc @@ -1,7 +1,7 @@ ## Here is an example for css files. ## -syntax "css" "\.css$" +syntax "css" "\.(css|scss)$" color brightred "." color brightyellow start="\{" end="\}" color brightwhite start=":" end="[;^\{]"