mirror of
https://github.com/neovim/neovim.git
synced 2026-04-19 22:10:45 +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:
@@ -1115,7 +1115,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