aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthieu Coudron <teto@users.noreply.github.com>2021-04-18 17:12:41 +0200
committerGitHub <noreply@github.com>2021-04-18 17:12:41 +0200
commite343437bb6b82a48b1001d98a08fb5c63dccda30 (patch)
treee9f487113ba6e3402e837fc7872a250183980077 /test
parenta129887c00a2d5e49fc551ba0bbffe88cefb56c0 (diff)
parent5b8575fa0dc689e6de90ee3cc6805c0f8742c320 (diff)
downloadrneovim-e343437bb6b82a48b1001d98a08fb5c63dccda30.tar.gz
rneovim-e343437bb6b82a48b1001d98a08fb5c63dccda30.tar.bz2
rneovim-e343437bb6b82a48b1001d98a08fb5c63dccda30.zip
Merge pull request #12323 from da-x/orphaned-signs
Handle 'orphaned signs' on line deletion for signcolumn >= 2
Diffstat (limited to 'test')
-rw-r--r--test/functional/ui/sign_spec.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/functional/ui/sign_spec.lua b/test/functional/ui/sign_spec.lua
index 1937102782..06c92a4b10 100644
--- a/test/functional/ui/sign_spec.lua
+++ b/test/functional/ui/sign_spec.lua
@@ -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()