[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: New Vim Syntax File!

On 29 Feb 2000, Stephane Bortzmeyer <bortzmeyer@pasteur.fr> wrote:

 Pretty please, Stephane: No need to reply _both_ in mail and to the
list. I am subscribed to it, so please leave it on the list and don't
load my mailbox twice. TIA!

> On Tuesday 29 February 2000, at 7 h 57, the keyboard of Gerfried Fuchs 
> <alfie@innocent.com> wrote:

 No no, it wasn't my keyboard, it was really me ;-))

> It was discussed several times on this list and the problem is that WML is 
> actually a mix of several languages. I use 'html-mode' when editing HTML code, 
> 'perl-mode' when in an ePerl block, etc.
> How do you address that in vim?

 As Davor already noticed vim is able to use 'embedded' syntax - just
like wml uses embedded perl ;)  The file simply extends the html-syntax
and embeds the perl.vim syntax description between <: and :> (or even
<perl> and </perl>).

> > The United States is like the guy at the party who gives cocaine to
> > everybody and still nobody likes him.
> I don't sniff cocaine (neither do I eat McDonald's) so it seems normal.

 It's just a random fortune, don't take it too serious. I don't smoke
usual cigarettes either ;)

 Have fun!
A language that doesn't affect the way you think about programming is
not worth knowing.
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com