feat(view): add float.quit_on_focus_loss, float respects actions.open_file.quit_on_open (#1621)
This commit is contained in:
@@ -25,7 +25,7 @@ local overlay_bufnr = nil
|
||||
local overlay_winnr = nil
|
||||
|
||||
local function remove_overlay()
|
||||
if view.View.float.enable then
|
||||
if view.View.float.enable and view.View.float.quit_on_focus_loss then
|
||||
-- return to normal nvim-tree float behaviour when filter window is closed
|
||||
a.nvim_create_autocmd("WinLeave", {
|
||||
pattern = "NvimTree_*",
|
||||
|
||||
Reference in New Issue
Block a user