filetype in modeline

Lawrence Velázquez larryv at macports.org
Tue Jan 15 01:43:19 PST 2013


On Jan 14, 2013, at 4:14 PM, Lawrence Velázquez <larryv at macports.org> wrote:

> Could mpvim set "nomodeline" and set the options (fileencoding, expandtab, etc.) itself?

Alright, time to set Aljaž right.

https://trac.macports.org/changeset/101624

Now mpvim just ignores the modeline and sets the appropriate buffer-local options on its own. The only downside is that it has to be kept in sync with the standard modeline if it ever changes.

It also wouldn't work for any Portfiles that had some sort of custom modeline. Are there any of those?

vq


More information about the macports-dev mailing list