vim-patch:9.1.0103: 'breakindentopt' "min" not correct with 'signcolumn' (#27451)

Problem:  'breakindentopt' "min" works incorrectly with 'signcolumn'.
Solution: Use win_col_off() and win_col_off2().
          (zeertzjq)

closes: vim/vim#14014

f0a9d65e0a
This commit is contained in:
zeertzjq
2024-02-13 07:33:24 +08:00
committed by GitHub
parent 2493fd020d
commit 86458dde0e
4 changed files with 36 additions and 7 deletions

View File

@@ -1480,7 +1480,7 @@ it("diff mode draws 'breakindent' correctly after filler lines", function()
[4] = { foreground = Screen.colors.Blue, bold = true },
})
exec([[
set laststatus=0 diffopt+=followwrap breakindent
set laststatus=0 diffopt+=followwrap breakindent breakindentopt=min:0
call setline(1, ['a', ' ' .. repeat('c', 50)])
vnew
call setline(1, ['a', 'b', ' ' .. repeat('c', 50)])