nano

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

commit fd9f6e4619f1a3eff54d96d5a074fb9ae92d554c
parent 4f9bebddec5cccb3a0664ef088a59eb587d17315
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 12 Apr 2020 10:36:02 +0200

syntax: mgp: drop the almost-empty MagicPoint file and syntax

It colored any word after a % sign.  But a good syntax would color
only the valid commands, and also the ones after a comma.

Diffstat:
Msyntax/Makefile.am | 1-
Dsyntax/mgp.nanorc | 9---------
2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/syntax/Makefile.am b/syntax/Makefile.am @@ -21,7 +21,6 @@ pkgdata_DATA = asm.nanorc \ lua.nanorc \ makefile.nanorc \ man.nanorc \ - mgp.nanorc \ nanohelp.nanorc \ nanorc.nanorc \ nftables.nanorc \ diff --git a/syntax/mgp.nanorc b/syntax/mgp.nanorc @@ -1,9 +0,0 @@ -## Here is an example for Magicpoint presentations. - -syntax mgp "\.mgp$" -header "^%include.*" -comment "#" - -color green "^%[A-Za-z].*" -color cyan "(^|[[:space:]])(#|%%).*" -color ,green "[[:space:]]+$"