From 14d7c5de2a4b4d758bdd227682045fbd9cdc69a2 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Wed, 4 Aug 2010 13:47:23 +0000 Subject: [PATCH] 2010-08-04 Lauri Kasanen * 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 --- ChangeLog | 3 +++ doc/syntax/Makefile.am | 3 ++- doc/syntax/mgp.nanorc | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 doc/syntax/mgp.nanorc diff --git a/ChangeLog b/ChangeLog index f3c8d087..8efce5c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2010-08-04 Lauri Kasanen + * doc/syntax/mgp.nanorc: New Magicpoint syntax highlighting definition + 2010-08-04 Peter * doc/syntax/tex.nanorc: No longer highlight escaped comments diff --git a/doc/syntax/Makefile.am b/doc/syntax/Makefile.am index 9999be31..372ddb24 100644 --- 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 new file mode 100644 index 00000000..daba2827 --- /dev/null +++ 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:]]+$"