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")
3
3
local notify = require (" nvim-tree.notify" )
4
4
local utils = require (" nvim-tree.utils" )
5
5
local core = require (" nvim-tree.core" )
6
+ local full_name = require (" nvim-tree.renderer.components.full-name" )
6
7
7
8
local M = {}
8
9
@@ -40,7 +41,12 @@ local function usable_win_ids()
40
41
end
41
42
42
43
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
44
50
end , win_ids )
45
51
end
46
52
You can’t perform that action at this time.
0 commit comments