mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 9.1.0103: 'breakindentopt' "min" not correct with 'signcolumn'
Problem: 'breakindentopt' "min" works incorrectly with 'signcolumn'. Solution: Use win_col_off() and win_col_off2(). (zeertzjq) closes: #14014 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b47fbb4083
commit
f0a9d65e0a
@@ -1133,7 +1133,7 @@ func Test_diff_breakindent_after_filler()
|
||||
CheckScreendump
|
||||
|
||||
let lines =<< trim END
|
||||
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