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 Oct 1, 2024
1 parent 2c9a672 commit 1faa6e6
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 @@ -16,7 +16,7 @@
l = log --pretty=colored
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 @@ -180,7 +180,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 1faa6e6

Please sign in to comment.