fix: support visual mode when preview window is open (#315)
This commit is contained in:
parent
fa3820ebf1
commit
f41d7e7cd8
8 changed files with 219 additions and 103 deletions
|
|
@ -104,7 +104,7 @@ a.describe("Alternate buffer", function()
|
|||
return oil.get_cursor_entry()
|
||||
end, 10)
|
||||
vim.api.nvim_win_set_cursor(0, { 1, 1 })
|
||||
oil.select({ preview = true })
|
||||
oil.open_preview()
|
||||
test_util.wait_for_autocmd({ "User", pattern = "OilEnter" })
|
||||
assert.equals("foo", vim.fn.expand("#"))
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue