This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for MacOS issue with diffopts=internal
Stock vim on Catalina (and, apparently, Big Sur) does not support diffopt=internal even though the default options include internal. Thus :set diffopt+=vertical is equivalent to :set diffopt=internal,filler,vertical which is an error because internal is not supported. One solution is to modify your .vimrc as follows: if &diff set diffopt-=internal set diffopt+=vertical endif The issue (and fix) is described on these websites: thoughtbot#655 https://www.micahsmith.com/blog/2019/11/fixing-vim-invalid-argument-diffopt-iwhite/
- Loading branch information