diff .chezmoitemplates/init.lua @ 775:951fb526b510

feat: enable new linematch diffopt
author zegervdv <zegervdv@me.com>
date Tue, 11 Apr 2023 07:22:48 +0200
parents d6e944feec8d
children 7876fd87d41e
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' }