Skip to content

Commit 08333c2

Browse files
committed
refactor(#2731): resolve warnings
1 parent 8d46aeb commit 08333c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/actions/node/file-popup.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ end
5656

5757
function M.close_popup()
5858
if current_popup ~= nil then
59-
vim.api.nvim_win_close(current_popup.winnr, { force = true })
59+
vim.api.nvim_win_close(current_popup.winnr, true)
6060
vim.cmd "augroup NvimTreeRemoveFilePopup | au! CursorMoved | augroup END"
6161

6262
current_popup = nil

0 commit comments

Comments
 (0)