nano

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

commit 14d7c5de2a4b4d758bdd227682045fbd9cdc69a2
parent 7a1b1ff5bec09deda0e1073e227b4c5555ab2a3d
Author: Chris Allegretta <chrisa@asty.org>
Date:   Wed,  4 Aug 2010 13:47:23 +0000

2010-08-04 Lauri Kasanen <curaga@operamail.comcuraga@operamail.com>
        * doc/syntax/mgp.nanorc: New Magicpoint syntax highlighting definition



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4512 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 3+++
Mdoc/syntax/Makefile.am | 3++-
Adoc/syntax/mgp.nanorc | 8++++++++
3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +2010-08-04 Lauri Kasanen <curaga@operamail.comcuraga@operamail.com> + * doc/syntax/mgp.nanorc: New Magicpoint syntax highlighting definition + 2010-08-04 Peter <exodus@savannah> * doc/syntax/tex.nanorc: No longer highlight escaped comments diff --git a/doc/syntax/Makefile.am b/doc/syntax/Makefile.am @@ -24,6 +24,7 @@ pkgdata_DATA = asm.nanorc \ ocaml.nanorc \ objc.nanorc \ fortran.nanorc \ - makefile.nanorc + makefile.nanorc \ + mgp.nanorc EXTRA_DIST = $(pkgdata_DATA) diff --git a/doc/syntax/mgp.nanorc b/doc/syntax/mgp.nanorc @@ -0,0 +1,8 @@ +## Here is an example for Magicpoint presentations +## +syntax "mgp" "\.mgp$" +header "^%include.*" +icolor green "^%[a-z].*$" +color cyan "(^|[[:space:]])#.*$" +color cyan "(^|[[:space:]])%%.*$" +color ,green "[[:space:]]+$"