Skip to content

Commit b724d25

Browse files
committed
fix git merging
1 parent bf6bd26 commit b724d25

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lua/options.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,10 @@ vim.o.confirm = true
7777
-- set width guide column at 100 characters
7878
vim.opt.colorcolumn = '100'
7979

80+
-- fix git merging
81+
-- https://github.com/neovim/neovim/issues/22696#issuecomment-2796545495
82+
if vim.opt.diff:get() then
83+
vim.o.diffopt = 'internal,filler,closeoff'
84+
end
85+
8086
-- vim: ts=2 sts=2 sw=2 et

0 commit comments

Comments
 (0)