> > > > Try this: > > # vim: set syntax=apache > > Doesn't work anymore. I built vim 7.4 manually (and installed it in > ~/.local), it doesn't work anymore but it's ok on Debian with vim 7.4. > > A bug somewhere? > > should work since vim 6.0; may be modelines are disabled per default for security concerns? http://vimdoc.sourceforge.net/htmldoc/options.html#'modeline'
you can figure if modelines are enabled and if the area is big enough, by checking the settings: [ESC]:set or try [ESC]:help modelines. and if approbiate review your .vimrc/.exrc modeline <boolean> modelines <no_of_lines to check> defaults to 5, if your comment before (at the beginning of the file) or after (at the end of the file) is to big no modeline gets loaded. _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"