aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/diff_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-13 07:33:24 +0800
committerGitHub <noreply@github.com>2024-02-13 07:33:24 +0800
commit86458dde0e451dc1d59f16f1d00f2abeb8288ac9 (patch)
tree9885f56297ea544d9d0040af7921b88f0e9185b0 /test/functional/ui/diff_spec.lua
parent2493fd020d6f294c78a87b0f7f35c0398b248f1f (diff)
downloadrneovim-86458dde0e451dc1d59f16f1d00f2abeb8288ac9.tar.gz
rneovim-86458dde0e451dc1d59f16f1d00f2abeb8288ac9.tar.bz2
rneovim-86458dde0e451dc1d59f16f1d00f2abeb8288ac9.zip
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
Diffstat (limited to 'test/functional/ui/diff_spec.lua')
-rw-r--r--test/functional/ui/diff_spec.lua2
1 files changed, 1 insertions, 1 deletions
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)])