Skip to content

Commit

Permalink
Merge pull request #1 from barretlee/fix-diffopt-error
Browse files Browse the repository at this point in the history
fix: stock vim on Catalina does not support diffopt+=vertical
  • Loading branch information
barretlee committed Dec 3, 2021
2 parents 42a313b + d1d09f6 commit 960f7e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ set spellfile=$HOME/.vim-spell-en.utf-8.add
set complete+=kspell

" Always use vertical diffs
set diffopt+=vertical
if &diff
set diffopt+=vertical
endif

" Local config
if filereadable($HOME . "/.vimrc.local")
Expand Down

0 comments on commit 960f7e7

Please sign in to comment.