chore: TODO issue links

This commit is contained in:
Alexander Courtis
2024-10-14 10:47:41 +11:00
parent 0fede9f813
commit ce09bfb95f
4 changed files with 5 additions and 5 deletions

View File

@@ -269,7 +269,7 @@ function BaseNode:group_empty_folders()
local is_root = not self.parent
local child_folder_only = self:has_one_child_folder() and self.nodes[1]
if self.explorer.opts.renderer.group_empty and not is_root and child_folder_only then
---@cast self DirectoryNode -- TODO move this to the class
---@cast self DirectoryNode -- TODO #2886 move this to the class
self.group_next = child_folder_only
local ns = child_folder_only:group_empty_folders()
self.nodes = ns or {}
@@ -292,7 +292,7 @@ end
function BaseNode:expand_or_collapse(toggle_group)
toggle_group = toggle_group or false
if self.has_children then
---@cast self DirectoryNode -- TODO move this to the class
---@cast self DirectoryNode -- TODO #2886 move this to the class
self.has_children = false
end