Skip to content

Commit

Permalink
Fix Vim errors
Browse files Browse the repository at this point in the history
Vim on Catalina doesn't suuport `diffopt=internal`
thoughtbot#655
  • Loading branch information
gambaroff committed Sep 7, 2021
1 parent 7ea8dc4 commit 170eca9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
st = status
br = branch
[core]
excludesfile = /Users/gambaroff/.gitignore
excludesfile = /Users/stephania.thomas/.gitignore_global
autocrlf = input
[merge]
ff = only
Expand Down
5 changes: 4 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ set noeb vb t_vb=
set complete+=kspell

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

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

0 comments on commit 170eca9

Please sign in to comment.