Skip to content

Commit 4c9c885

Browse files
committed
post merge tidy
1 parent a44544a commit 4c9c885

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lua/nvim-tree/actions/finders/find-file.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ function M.fn(path)
4545
return node.absolute_path == path_real or node.link_to == path_real
4646
end)
4747
:applier(function(node)
48-
---@cast node DirectoryNode
4948
local incremented_line = false
5049
if not node.group_next then
5150
line = line + 1

lua/nvim-tree/actions/moves/item.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ end
7474

7575
---@param node DirectoryNode
7676
local function expand_node(node)
77-
if node:is(DirectoryNode) and not node.open then
78-
---@cast node DirectoryNode
77+
if not node.open then
7978
-- Expand the node.
8079
-- Should never collapse since we checked open.
8180
node:expand_or_collapse(false)

0 commit comments

Comments
 (0)