fix: defer to 100ms empty buffer removal
This commit is contained in:
@@ -84,7 +84,7 @@ function M.hijack_current_window()
|
|||||||
else
|
else
|
||||||
View.tabpages[current_tab] = { winnr = api.nvim_get_current_win() }
|
View.tabpages[current_tab] = { winnr = api.nvim_get_current_win() }
|
||||||
end
|
end
|
||||||
vim.defer_fn(remove_empty_buffer, 50)
|
vim.defer_fn(remove_empty_buffer, 100)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.on_enter(opts)
|
function M.on_enter(opts)
|
||||||
|
|||||||
Reference in New Issue
Block a user