Bug#864074: defaults.vim: broken configuration

James McCoy jamessan at debian.org
Fri Jul 21 02:24:01 UTC 2017


On Thu, Jul 20, 2017 at 03:46:39PM -0700, Adam Waite wrote:
> As mentioned on other bug reports, this is an order-of-inclusion issue. 
> 
>   1: /usr/share/vim/vimrc
>   2: /usr/share/vim/vim80/debian.vim
>   3: /etc/vim/vimrc.local
>   4: /usr/share/vim/vim80/defaults.vim
>   [snip]
> 
> defaults.vim is being loaded *after* vimrc.local, which means that vimrc.local
> is useless for overriding the package default settings. This is not the
> expected behavior. 
> 
> The solution is simple, and it is simply baffling that it has been resisted by
> the package maintainers. Why should users have to completely disable the
> defaults, just to disable a single problematic configuration item? 

There's no need to disable defaults.vim.  As I have also suggested (in
this very bug report), you can explicitly load defaults.vim and then
disable whatever settings you don't like.

Changing this behavior _just_ for Debian will only add to the confusion,
since users will now get different behavior on different systems.
Upstream needs to be convinced that this is a problem, so it can be
addressed there.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the pkg-vim-maintainers mailing list