From f02977f6537e17b246c0075154b8edfecd983ecc Mon Sep 17 00:00:00 2001 From: niverton Date: Sat, 8 Mar 2025 20:21:21 +0100 Subject: [PATCH] feat(diff): better diff settings --- lua/plugins/14-options.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/lua/plugins/14-options.lua b/lua/plugins/14-options.lua index 456f9ee..a238a55 100644 --- a/lua/plugins/14-options.lua +++ b/lua/plugins/14-options.lua @@ -7,6 +7,17 @@ return { opt = { clipboard = "", cmdheight = 1, + diffopt = { + -- default + "internal", + "closeoff", + "filler", + -- end default + "iwhite", + "algorithm:histogram", + "indent-heuristic", + "linematch:60", + }, expandtab = true, foldmethod = "syntax", foldnestmax = 150, @@ -20,10 +31,9 @@ return { signcolumn = "auto", spell = false, tabstop = 4, - textwidth = 120, - wrap = true, + textwidth = 100, winblend = 0, - pumblend = 0, + wrap = true, }, g = { neovide_hide_mouse_when_typing = true,