Today (Sun, 25 Jun 2006), Matt Wlazlo wrote:

> I'm a long time vim user, but have never figured this one out.
> 
> How can I get a modeline to work at the end of a HTML file? I'd
> rather use a modeline than an autocommand..
> 
> I've tried using:
> 
> <!-- vim: ts=2 sw=2 " -->
> 
> But the comment doesn't work as expected:
> 
> E518: Unknown option: "

Try this:
<!-- vim: set ts=2 sw=2: -->

This is the second form explained in ":help modeline".

- Christian

-- 
              Stamp out organized crime!!  Abolish the IRS.
Christian J. Robinson <[EMAIL PROTECTED]> http://infynity.spodzone.com/
   PGP keys: 0x893B0EAF / 0xFB698360   http://infynity.spodzone.com/pgp

Reply via email to