fix(column): cmdwin cursor is offset with 'statuscolumn' (#22445)

This commit is contained in:
luukvbaal
2023-02-28 03:19:58 +01:00
committed by GitHub
parent f113cba3ec
commit 9a271f6afd
2 changed files with 21 additions and 1 deletions

View File

@@ -478,4 +478,24 @@ describe('statuscolumn', function()
|
]])
end)
it('works with cmdwin', function()
feed(':set stc=%l<CR>q:k$')
screen:expect([[
7 aaaaa |
8 aaaaa |
9 aaaaa |
10aaaaa |
[No Name] [+] |
:1set stc=%^l |
:2 |
~ |
~ |
~ |
~ |
~ |
[Command Line] |
: |
]])
end)
end)