mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
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:
@@ -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)])
|
||||
|
||||
Reference in New Issue
Block a user