post merge tidy
This commit is contained in:
@@ -45,7 +45,6 @@ function M.fn(path)
|
||||
return node.absolute_path == path_real or node.link_to == path_real
|
||||
end)
|
||||
:applier(function(node)
|
||||
---@cast node DirectoryNode
|
||||
local incremented_line = false
|
||||
if not node.group_next then
|
||||
line = line + 1
|
||||
|
||||
@@ -74,8 +74,7 @@ end
|
||||
|
||||
---@param node DirectoryNode
|
||||
local function expand_node(node)
|
||||
if node:is(DirectoryNode) and not node.open then
|
||||
---@cast node DirectoryNode
|
||||
if not node.open then
|
||||
-- Expand the node.
|
||||
-- Should never collapse since we checked open.
|
||||
node:expand_or_collapse(false)
|
||||
|
||||
Reference in New Issue
Block a user