15530Re: when is filetype set?
- Jan 3, 2001On Wed, Jan 03, 2001 at 03:10:54PM +0530, Janakiraman .S wrote:
> I dont think so. You will need to execute this each time you load aGotcha.
> Also syn off turns syntax highlighting off on all buffers.
> syn clear will clear it for the current buffer alone.
> I suggest using autocommands to achieve what you want.Ok, I had to tweak this a bit because it was conflicting with other
> Something like
> " Set up your defaults for all files
> syn on
> au FileType * se cindent nu
> " Specific to files of filetype mail
> au FileType mail syn clear
> au FileType mail se tw=78 noai
settings, but I believe it's finally working.
Thanks for your help, and I'll read up the docs again. ;-)
Michael P. Soulier <msoulier@...>
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort." -Harley Hahn, A Student's Guide to UNIX
PGP Public Key: http://www.storm.ca/~msoulier/email.phtml
- << Previous post in topic Next post in topic >>