nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 94b484ea970a7cf1c5aac84b2e581d5d43f0fc1c
parent ac2c81fad17f3dc4cc08c9feb17fe4b302585346
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu,  3 Aug 2017 21:14:23 +0200

syntax: html: don't bother coloring tags that cross line boundaries

Prefer speed above being fully correct.

This addresses https://savannah.gnu.org/bugs/?51644.

Diffstat:
Msyntax/html.nanorc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/html.nanorc b/syntax/html.nanorc @@ -5,7 +5,7 @@ magic "HTML document text" comment "<!--|-->" # Tags: -color cyan start="<[[:alpha:]/!?]" end=">" +color cyan "<[[:alpha:]/!?][^>]*>" # Bold, italic, and underlined: color brightmagenta "</?[biu]>"