HomeFreeBSD

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

Description

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

Details

Provenance
adamwAuthored on Sep 3 2022, 5:56 PM
Parents
R11:3277d3588c70: audio/flacon: update the port to version 9.2.0
Branches
Unknown
Tags
Unknown