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
master
Chris Allegretta 2010-08-04 13:47:23 +00:00
parent 7a1b1ff5be
commit 14d7c5de2a
3 changed files with 13 additions and 1 deletions

View File

@ -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> 2010-08-04 Peter <exodus@savannah>
* doc/syntax/tex.nanorc: No longer highlight escaped comments * doc/syntax/tex.nanorc: No longer highlight escaped comments

View File

@ -24,6 +24,7 @@ pkgdata_DATA = asm.nanorc \
ocaml.nanorc \ ocaml.nanorc \
objc.nanorc \ objc.nanorc \
fortran.nanorc \ fortran.nanorc \
makefile.nanorc makefile.nanorc \
mgp.nanorc
EXTRA_DIST = $(pkgdata_DATA) EXTRA_DIST = $(pkgdata_DATA)

8
doc/syntax/mgp.nanorc Normal file
View File

@ -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:]]+$"