On 05/05/09 15:30, Bill Moseley wrote:
>
> Pretty simple solution (as is often the case):
>
> ftplugin are disabled in this version of Vim packaged in
> Debian/Ubuntu, it seems.
>
>
> /usr/share/doc/vim-runtime/NEWS.Debian.gz
>
>
>    Filetype plugins are no longer enabled by default because certain
>    actions (like preventing the loading of the default menus) *must*
>    occur before filetype detection is enabled.  By enabling filetype
>    plugins (and detection) in debian.vim, we are preventing the user
>    from being able to make changes to Vim's behavior.  Filetype plugins
>    can be re-enabled via "filetype plugin on".
>
>
> and bug reports:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496545
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496503
>
>

Meddlesome distributors and system vimrc scripts... My distributor 
(openSUSE) disables modelines by default in the versions of Vim they 
distribute, and that not only for root (which is the current Vim 
default) but for all users (which isn't). IIUC they regard running with 
modelines enabled as a security risk.

If they hadn't put that system vimrc on their distro, you would have had 
to enable filetype-plugins yourself in your vimrc (by "filetype plugin 
on" or by "runtime vimrc_example.vim") from the start, and nothing would 
have changed when you upgraded the OS. Ah la la...


Best regards,
Tony.
-- 
Education is the process of casting false pearls before real swine.
                -- Irsin Edman

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to