68196Re: [PATCH] A syntax file for Mallard
- Feb 12, 2013Jaromir Hradilek wrote:
> >> Attached is runtime/syntax/mallard.vim, a syntax file for the MallardThanks. Despite the obvious name it appears no other file type uses
> >>  markup language. It is based on the latest version of the Mallard
> >> Mallard 1.0 DRAFT as of Monday, 11 February 2013.
> >> Mallard is an XML-based markup language that is extensively used by the
> >> GNOME project, and as far as I know, the only text editor that provides
> >> support for it is currently gedit. It would be nice for Vim to be the
> >> second editor to support this promising language.
> > Thanks, I'll probably include it soon.
> > How do we detect a mallard file? Would be nice to add a line in
> > $VIMRUNTIME/filetype.vim.
> Thank you very much, Bram. Mallard uses .page as a filename extension,
> so adding the following line to the $VIMRUNTIME/filetype.vim file should
> be sufficient:
> au BufNewFile,BufRead *.page setf mallard
> A patch is attached.
this, thus it should be fine.
Violators can be fined, arrested or jailed for making ugly faces at a dog.
[real standing law in Oklahoma, United States of America]
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic