Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2022 22:36:02 +0300
From:      "George L. Yermulnik" <yz@yz.kiev.ua>
To:        dev-commits-ports-all@freebsd.org
Subject:   Re: git: a058c61ea36c - main - editors/vim: Update to 9.0.0369, and drop the FreeBSD vimrc
Message-ID:  <20220903193602.GB19256@yz.kiev.ua>
In-Reply-To: <202209031803.283I3uuI047434@gitrepo.freebsd.org>
References:  <202209031803.283I3uuI047434@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

On Sat, 03 Sep 2022 at 18:03:56 (+0000), Adam Weinberger wrote:

>     editors/vim: Update to 9.0.0369, and drop the FreeBSD vimrc

Thank you!

>     Our FreeBSD vimrc has caused a lot of trouble. It seriously mangles
>     config loading order (see below PR for the 21 comments it took before
>     I could get my head around it), clobbers defaults, duplicates defaults,
>     and simply isn't how Vim does things.

>     In this patch, the system vimrc is dropped entirely. Instead,
>     $VIMRUNTIME/defaults.vim sources $VIMRUNTIME/defaults_freebsd.vim, which
>     contains only FreeBSD-specific settings (today, a convenience augroup
>     for port creation, and a flag to let syntax/sh.vim know that /bin/sh
>     isn't bash).

>     There is no perfect solution here, but by not clobbering anything
>     anymore, we at least don't *prevent* other solutions. You now get Vim's
>     defaults, and you are free to override them in your ~/.vimrc.

-- 
George L. Yermulnik
[YZ-RIPE]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220903193602.GB19256>