comparison .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
comparison
equal deleted inserted replaced
774:61f7d3bd724f 775:951fb526b510
798 vim.opt.ttimeoutlen = -1 -- Minimum timeout 798 vim.opt.ttimeoutlen = -1 -- Minimum timeout
799 799
800 vim.opt.diffopt:append 'iwhite' -- Ignore whitespace in diffs 800 vim.opt.diffopt:append 'iwhite' -- Ignore whitespace in diffs
801 vim.opt.diffopt:append 'internal' -- Internal diff engine 801 vim.opt.diffopt:append 'internal' -- Internal diff engine
802 vim.opt.diffopt:append 'algorithm:patience' -- Use patience algorithm 802 vim.opt.diffopt:append 'algorithm:patience' -- Use patience algorithm
803 vim.opt.diffopt:append 'linematch:60' -- Second order diff to align lines
803 804
804 vim.opt.tags = { '.git/tags', 'tags' } 805 vim.opt.tags = { '.git/tags', 'tags' }
805 806
806 vim.opt.path:append '**' -- Recursively search current directory 807 vim.opt.path:append '**' -- Recursively search current directory
807 808