home: vim: add diff line matching
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:
Bruno BELANYI 2023-04-19 08:36:40 +00:00
parent 2375f88e56
commit e9f07e67dc

View file

@ -68,6 +68,8 @@ set listchars=tab:>─,trail:·,nbsp:¤
" Use patience diff
set diffopt+=algorithm:patience
" Align similar lines in each hunk
set diffopt+=linematch:50
" Don't redraw when executing macros
set lazyredraw