mirror of
https://github.com/neovim/neovim.git
synced 2024-12-22 20:25:16 -07:00
33 lines
793 B
Lua
33 lines
793 B
Lua
local helpers = require('test.functional.helpers')
|
|
local Screen = require('test.functional.ui.screen')
|
|
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute
|
|
|
|
describe("'wildmode'", function()
|
|
local screen
|
|
|
|
before_each(function()
|
|
clear()
|
|
screen = Screen.new(25, 5)
|
|
screen:attach()
|
|
end)
|
|
|
|
after_each(function()
|
|
screen:detach()
|
|
end)
|
|
|
|
describe("'wildmenu'", function()
|
|
it(':sign <tab> shows wildmenu completions', function()
|
|
execute('set wildmode=full')
|
|
execute('set wildmenu')
|
|
feed(':sign <tab>')
|
|
screen:expect([[
|
|
|
|
|
~ |
|
|
~ |
|
|
define jump list > |
|
|
:sign define^ |
|
|
]])
|
|
end)
|
|
end)
|
|
end)
|