diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2022-09-03 11:56:00 -0600 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2022-09-03 12:03:52 -0600 |
commit | a058c61ea36c0cb64a61c83563b55a157cf549f4 (patch) | |
tree | bf20b45786c2183eebc119e0e7cce62611731953 /UPDATING | |
parent | 3277d3588c70f440f16b298d8570746367471230 (diff) | |
download | freebsd-ports-a058c61ea36c0cb64a61c83563b55a157cf549f4.zip |
editors/vim: Update to 9.0.0369, and drop the FreeBSD vimrc
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.
PR: 251420
Diffstat (limited to 'UPDATING')
0 files changed, 0 insertions, 0 deletions