We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44544a commit 4c9c885Copy full SHA for 4c9c885
lua/nvim-tree/actions/finders/find-file.lua
@@ -45,7 +45,6 @@ function M.fn(path)
45
return node.absolute_path == path_real or node.link_to == path_real
46
end)
47
:applier(function(node)
48
- ---@cast node DirectoryNode
49
local incremented_line = false
50
if not node.group_next then
51
line = line + 1
lua/nvim-tree/actions/moves/item.lua
@@ -74,8 +74,7 @@ end
74
75
---@param node DirectoryNode
76
local function expand_node(node)
77
- if node:is(DirectoryNode) and not node.open then
78
+ if not node.open then
79
-- Expand the node.
80
-- Should never collapse since we checked open.
81
node:expand_or_collapse(false)
0 commit comments