On Mon, Jan 14, 2013 at 02:43:18PM +0100, Rainer Müller wrote:
> What I could do about it would be that vim installed from MacPorts
> would recognize Portfile as filetype=tcl by default. This could then
> be overridden by installing mpvim and no filetype= setting would be
> required in Portfiles as long as vim from MacPorts is used.
Another way to make sure Portfiles have filetype set to Portfile despite
the modeline is adding the following line to your .vimrc:
au BufNewFile,BufRead,BufWinEnter Portfile setlocal ft=Portfile
That way you can use mpvim with your Portfiles but still use the
standard modeline.
--
Clemens Lang
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev