File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
lua/nvim-tree/actions/node Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ local lib = require("nvim-tree.lib")
33local notify = require (" nvim-tree.notify" )
44local utils = require (" nvim-tree.utils" )
55local core = require (" nvim-tree.core" )
6+ local full_name = require (" nvim-tree.renderer.components.full-name" )
67
78local M = {}
89
@@ -40,7 +41,12 @@ local function usable_win_ids()
4041 end
4142
4243 local win_config = vim .api .nvim_win_get_config (id )
43- return id ~= tree_winid and win_config .focusable and not win_config .hide and not win_config .external or false
44+ return id ~= tree_winid
45+ and id ~= full_name .popup_win
46+ and win_config .focusable
47+ and not win_config .hide
48+ and not win_config .external
49+ or false
4450 end , win_ids )
4551end
4652
You can’t perform that action at this time.
0 commit comments