Handle 'orphaned signs' on line deletion for signcolumn >= 2

This commit is contained in:
Dan Aloni
2020-05-15 19:22:44 +03:00
parent a6504ec339
commit f2ed7605da
4 changed files with 61 additions and 5 deletions

View File

@@ -264,6 +264,24 @@ describe('Signs', function()
{0:~ }|
|
]]}
-- line deletion deletes signs.
command('2d')
screen:expect([[
{1:>>}XX{2: }{6: 1 }a |
XX{1:>>}WW{6: 2 }^c |
{2: }{6: 3 } |
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
|
]])
end)
it('auto-resize sign column with minimum size (#13783)', function()