From 86458dde0e451dc1d59f16f1d00f2abeb8288ac9 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 13 Feb 2024 07:33:24 +0800 Subject: 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 https://github.com/vim/vim/commit/f0a9d65e0a1d693cdfa964aa72de5b93b4cacdea --- test/functional/ui/diff_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional') diff --git a/test/functional/ui/diff_spec.lua b/test/functional/ui/diff_spec.lua index cbb6ee466b..e0dfde35f2 100644 --- a/test/functional/ui/diff_spec.lua +++ b/test/functional/ui/diff_spec.lua @@ -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)]) -- cgit