# HG changeset patch # User zegervdv # Date 1681190568 -7200 # Node ID 951fb526b510134a050eb07e5bed12e874e61c99 # Parent 61f7d3bd724fc6bda9f626ab2b5175a0e7a269c7 feat: enable new linematch diffopt diff -r 61f7d3bd724f -r 951fb526b510 .chezmoitemplates/init.lua --- 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' }