]> git.wh0rd.org Git - nano.git/commitdiff
2010-08-04 Lauri Kasanen <curaga@operamail.comcuraga@operamail.com>
authorChris Allegretta <chrisa@asty.org>
Wed, 4 Aug 2010 13:47:23 +0000 (13:47 +0000)
committerChris Allegretta <chrisa@asty.org>
Wed, 4 Aug 2010 13:47:23 +0000 (13:47 +0000)
        * 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
doc/syntax/Makefile.am
doc/syntax/mgp.nanorc [new file with mode: 0644]

index f3c8d087f603e7c67246c999c8e42e462f349e09..8efce5c0b44aa680d5e4fdf513d109256be7e738 100644 (file)
--- 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
 
index 9999be315a245de8305dacc2cba2bf9d6c435820..372ddb2447788b4d5eab01f821522015ec777f97 100644 (file)
@@ -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 (file)
index 0000000..daba282
--- /dev/null
@@ -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:]]+$"