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

Re: vim problem



Hi John,

JO> Now I have a problem.  In a lot of files, I am using:
JO> # vim: set syntax=exim:
JO> Or something like it at the top or bottom of config files.  This used to
JO> work on FreeBSD fine.  Can anyone tell me where I am being silly with
JO> this?

Hmm, that depends on the definition of "silly" :) However, put this in
your .vimrc:

<snip>
set modeline
</snip>

and you'll be fine..

Please note that things like setting syntax definitions can be done
in a different way (":help :autocmd", or ":help ftplugin").

Regards,

  Bob



Reply to: