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
11 lines
377 B
Text
11 lines
377 B
Text
[
|
|
{ type: upgrade
|
|
maximum_version: "9.0.0129"
|
|
message: <<EOM
|
|
Vim no longer installs or reads a system-wide vimrc. The only overridden
|
|
defaults are those which provide FreeBSD-specific settings. Read through
|
|
$VIMRUNTIME/defaults.vim to see Vim's defaults, and see ':h initialization'
|
|
for the standard locations Vim looks for configuration files.
|
|
EOM
|
|
}
|
|
]
|