mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
Add test
This commit is contained in:
@@ -248,6 +248,42 @@ describe("'wildmenu'", function()
|
|||||||
|
|
|
|
||||||
]])
|
]])
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
it('multiple <C-D> renders correctly', function()
|
||||||
|
command('set laststatus=2')
|
||||||
|
command('set display+=msgsep')
|
||||||
|
feed(':set wildm')
|
||||||
|
feed('<c-d>')
|
||||||
|
screen:expect([[
|
||||||
|
|
|
||||||
|
~ |
|
||||||
|
~ |
|
||||||
|
|
|
||||||
|
:set wildm |
|
||||||
|
wildmenu wildmode |
|
||||||
|
:set wildm^ |
|
||||||
|
]])
|
||||||
|
feed('<c-d>')
|
||||||
|
screen:expect([[
|
||||||
|
|
|
||||||
|
|
|
||||||
|
:set wildm |
|
||||||
|
wildmenu wildmode |
|
||||||
|
:set wildm |
|
||||||
|
wildmenu wildmode |
|
||||||
|
:set wildm^ |
|
||||||
|
]])
|
||||||
|
feed('<Esc>')
|
||||||
|
screen:expect([[
|
||||||
|
^ |
|
||||||
|
~ |
|
||||||
|
~ |
|
||||||
|
~ |
|
||||||
|
~ |
|
||||||
|
[No Name] |
|
||||||
|
|
|
||||||
|
]])
|
||||||
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe('command line completion', function()
|
describe('command line completion', function()
|
||||||
|
Reference in New Issue
Block a user