mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
fix(cmdline): completion for command after :restart (#35256)
This commit is contained in:
@@ -952,6 +952,12 @@ describe('completion', function()
|
||||
end
|
||||
end)
|
||||
|
||||
it('cmdline completion for :restart', function()
|
||||
eq('qall', fn.getcompletion('restart +qa', 'cmdline')[1])
|
||||
eq('edit', fn.getcompletion('restart +qall ed', 'cmdline')[1])
|
||||
eq('edit', fn.getcompletion('restart ed', 'cmdline')[1])
|
||||
end)
|
||||
|
||||
describe('from the commandline window', function()
|
||||
it('is cleared after CTRL-C', function()
|
||||
feed('q:')
|
||||
|
Reference in New Issue
Block a user