From 08333c2e94aa8276e99a393a6704f74bb47b5667 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Sun, 26 May 2024 15:43:14 +1000 Subject: [PATCH] refactor(#2731): resolve warnings --- lua/nvim-tree/actions/node/file-popup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-tree/actions/node/file-popup.lua b/lua/nvim-tree/actions/node/file-popup.lua index 23ae8cc2..5736b3ee 100644 --- a/lua/nvim-tree/actions/node/file-popup.lua +++ b/lua/nvim-tree/actions/node/file-popup.lua @@ -56,7 +56,7 @@ end function M.close_popup() if current_popup ~= nil then - vim.api.nvim_win_close(current_popup.winnr, { force = true }) + vim.api.nvim_win_close(current_popup.winnr, true) vim.cmd "augroup NvimTreeRemoveFilePopup | au! CursorMoved | augroup END" current_popup = nil