Re: vim and syntax configuration line in file
On Fri, Dec 26, 2003 at 04:53:08PM +0200, Jerome BENOIT wrote:
> Hello List,
>
> since while I have noticed that my vim editors
> no more recognize my vim configuration line such
>
> %% vim:syntax=tex
> ## vim:syntax=maple
>
> in my file.
>
> I can not figure out what is wrong:
> any idea.
You probably have the modelines option set to 0, which appears to be the
default in /etc/vim/vimrc in some recent Debian vim packages. You can
override that in ~/.vimrc if you want.
I'm not sure I agree with the default; if hazardous modelines are
possible then that in itself is a bug which needs to be fixed by more
than just changing the default, but you may want to read about it for
yourself.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: