From 7089dfcdcdd17549ee0c8572b4dc3710bf4c8293 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Wed, 9 Apr 2025 02:38:05 +0200 Subject: [PATCH] fix: align diffopt with new default --- lua/core/options.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/core/options.lua b/lua/core/options.lua index 3bc859b..56020fd 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -66,6 +66,7 @@ vim.opt.diffopt:append("internal") -- These make diffs easier to read, please see the following: -- https://vimways.org/2018/the-power-of-diff/ vim.opt.diffopt:append({ "indent-heuristic", "algorithm:histogram", }) +vim.opt.diffopt:append("linematch:40") vim.opt.hlsearch = true vim.opt.laststatus = 2 vim.opt.textwidth = 0