Hi all,
I needed to put vim:ts=3:sw=3:expandtab:nu:ic: into my CSS file. When
I tried:
/* vim:ts=3:sw=3:expandtab:nu:ic: */
The preceding gave me a "Unknown option: */" error when I reread the
file. So then I tried:
// vim:ts=3:sw=3:expandtab:nu:ic:
The preceding was OK with Vim, but gave me a CSS parse error.
So I figured "OK, I'll play your silly game, went back to /* and */,
but put the */ on the following line:
/* vim:ts=3:sw=3:expandtab:nu:ic:
*/
The preceding passed CSS validation, errorlessly survived a Vim reread,
and was honored by Vim. You guys probably knew this already, but for
anybody who didn't, this is what you do when your comments require a
closing tag: Just end one line with the modeline and put everything
else on the next line.
SteveT
Steve Litt
http://444domains.com