Open jkereako opened 4 years ago
The same error.
Same here. Did anyone ever find a fix to this?
@ashwinvidiyala I identified the problem and wrote about it here: https://www.micahsmith.com/blog/2019/11/fixing-vim-invalid-argument-diffopt-iwhite/
In short: stock vim on Catalina 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
@micahjsmith Sweet! Thanks :)
Thanks, it's working for me.
Hi there,
I'm running Vim 8.1 on macOS Catalina. When I open Vim, I always get this error message.
Removing the "+" seemed to have silenced the error, but, because I'm a Vim neophyte I'm not convinced that this is the correct solution.