Bug 266220

Summary: editors/vim: Read LOCALBASE/etc/vim/vimrc
Product: Ports & Packages Reporter: Juraj Lutter <otis>
Component: Individual Port(s)Assignee: Adam Weinberger <adamw>
Status: Closed FIXED    
Severity: Affects Only Me Flags: otis: maintainer-feedback?
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Juraj Lutter freebsd_committer freebsd_triage 2022-09-04 10:56:48 UTC
In spite of recent changes to editors/vim where LOCALBASE/etc/vim/vimrc is not being read by default any longer, I've put together a diff review D36433.

It allows for reading LOCALBASE/etc/vim/vimrc from within defaults_freebsd.vim, making the transition to new config file layout smoother.
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2022-09-04 16:27:33 UTC
I went the opposite direction, and added back support for ETCDIR/vimrc as a system vimrc. Loading defaults.vim and whatnot is now up to the user, as it should be, and it prevents needing to manually source stuff.

Thanks for submitting this PR... it helped motivate me to walk back the unnecessarily harsh and abrupt discontinuation of support for the system vimrc.