filetype in modeline (was: Re: [101588] trunk/dports/devel/pcre/Portfile)
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Mon Jan 14 06:33:34 PST 2013
> 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.
We could update the standard modeline to include that too :-)
More information about the macports-dev
mailing list