Mercurial > dotfiles
changeset 775:951fb526b510
feat: enable new linematch diffopt
author | zegervdv <zegervdv@me.com> |
---|---|
date | Tue, 11 Apr 2023 07:22:48 +0200 |
parents | 61f7d3bd724f |
children | f249dfee9dcc |
files | .chezmoitemplates/init.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua Mon Apr 03 22:12:52 2023 +0000 +++ b/.chezmoitemplates/init.lua Tue Apr 11 07:22:48 2023 +0200 @@ -800,6 +800,7 @@ vim.opt.diffopt:append 'iwhite' -- Ignore whitespace in diffs vim.opt.diffopt:append 'internal' -- Internal diff engine vim.opt.diffopt:append 'algorithm:patience' -- Use patience algorithm +vim.opt.diffopt:append 'linematch:60' -- Second order diff to align lines vim.opt.tags = { '.git/tags', 'tags' }