home: vim: add diff line matching
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This should bring more readable diffs. See [1]. [1]: https://github.com/neovim/neovim/pull/14537
This commit is contained in:
parent
2375f88e56
commit
e9f07e67dc
|
@ -68,6 +68,8 @@ set listchars=tab:>─,trail:·,nbsp:¤
|
||||||
|
|
||||||
" Use patience diff
|
" Use patience diff
|
||||||
set diffopt+=algorithm:patience
|
set diffopt+=algorithm:patience
|
||||||
|
" Align similar lines in each hunk
|
||||||
|
set diffopt+=linematch:50
|
||||||
|
|
||||||
" Don't redraw when executing macros
|
" Don't redraw when executing macros
|
||||||
set lazyredraw
|
set lazyredraw
|
||||||
|
|
Loading…
Reference in a new issue