fix: open files in correct window from floating oil (#560)
This commit is contained in:
parent
7a782c9a9c
commit
83ac5185f7
1 changed files with 1 additions and 1 deletions
|
|
@ -709,7 +709,7 @@ M.select = function(opts, callback)
|
|||
else
|
||||
-- Close floating window before opening a file
|
||||
if vim.w.is_oil_win then
|
||||
vim.api.nvim_win_close(0, false)
|
||||
M.close()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue