feat: action to open entry in new tab (#52)
This commit is contained in:
parent
0e53d40221
commit
48eec8b7ef
5 changed files with 23 additions and 3 deletions
|
|
@ -76,7 +76,7 @@ a.describe("Alternate buffer", function()
|
|||
oil.open_float()
|
||||
test_util.wait_for_autocmd("BufReadPost")
|
||||
-- This is lazy, but testing the actual select logic is more difficult. We can simply
|
||||
-- replicated it by closing the current window and then doing the edit
|
||||
-- replicate it by closing the current window and then doing the edit
|
||||
vim.api.nvim_win_close(0, true)
|
||||
vim.cmd.edit({ args = { "bar" } })
|
||||
assert.equals("foo", vim.fn.expand("#"))
|
||||
|
|
@ -88,7 +88,7 @@ a.describe("Alternate buffer", function()
|
|||
oil.open_float()
|
||||
test_util.wait_for_autocmd("BufReadPost")
|
||||
-- This is lazy, but testing the actual select logic is more difficult. We can simply
|
||||
-- replicated it by closing the current window and then doing the edit
|
||||
-- replicate it by closing the current window and then doing the edit
|
||||
vim.api.nvim_win_close(0, true)
|
||||
vim.cmd.edit({ args = { "bar" } })
|
||||
assert.equals("foo", vim.fn.expand("#"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue