From 84808a0a460bf9edff76e42ee3505b6fa478b090 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Mon, 10 Dec 2012 20:23:03 -0600 Subject: [PATCH] Some minor changes to c and xml --- c.nanorc | 2 +- xml.nanorc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c.nanorc b/c.nanorc index 1b201de..65e2d8d 100644 --- a/c.nanorc +++ b/c.nanorc @@ -29,7 +29,7 @@ color magenta "[(){}]" "\[" "\]" color cyan "<[^= ]*>" ""(\\.|[^"])*"" ## ## This string is VERY resource intensive! -color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" +#color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" ## Comment highlighting color brightblue "//.*" diff --git a/xml.nanorc b/xml.nanorc index 0a84162..859f0dc 100644 --- a/xml.nanorc +++ b/xml.nanorc @@ -1,7 +1,7 @@ ## Here is an example for xml files. ## -syntax "ml" ".*\.([jrs]?html?|xml|sgml?)$" +syntax "ml" ".*\.([jrs]?html?|xml|sgml?|rng)$" color white "^.+$" color green start="<" end=">" color cyan "<[^> ]+"