mirror of
https://github.com/neovim/neovim.git
synced 2025-11-21 09:36:29 +00:00
vim-patch:8.2.3556: filler lines are incorrect for other window in diff mode (#16164)
Problem: Filler lines are incorrect for other window in diff mode after
making a change.
Solution: Copy filler lines from the current window. (closes vim/vim#8809)
841c225b9e
This commit is contained in:
committed by
GitHub
parent
4a618b00bc
commit
bb79e05f81
@@ -1196,4 +1196,27 @@ it('Align the filler lines when changing text in diff mode', function()
|
||||
{8:[No Name] [+] }{3:[No Name] [+] }|
|
||||
|
|
||||
]]}
|
||||
feed('<C-W>lay<Esc>')
|
||||
screen:expect{grid=[[
|
||||
{1: }{2:-----------------}{3:│}{1: }{4:6 }|
|
||||
{1: }{2:-----------------}{3:│}{1: }{4:7 }|
|
||||
{1: }{2:-----------------}{3:│}{1: }{4:8 }|
|
||||
{1: }9 {3:│}{1: }9 |
|
||||
{1: }10 {3:│}{1: }10 |
|
||||
{1: }11 {3:│}{1: }11 |
|
||||
{1: }12 {3:│}{1: }12 |
|
||||
{1: }13 {3:│}{1: }13 |
|
||||
{1: }14 {3:│}{1: }14 |
|
||||
{1: }{5:15}{6:x}{5: }{3:│}{1: }{5:15}{6:^y}{5: }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{7:~ }{3:│}{7:~ }|
|
||||
{3:[No Name] [+] }{8:[No Name] [+] }|
|
||||
|
|
||||
]]}
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user