chore: TODO issue links
This commit is contained in:
parent
0fede9f813
commit
ce09bfb95f
@ -64,7 +64,7 @@ function M.fn(node)
|
|||||||
M.open(node)
|
M.open(node)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- TODO always use native once 0.10 is the minimum neovim version
|
-- TODO #2430 always use native once 0.10 is the minimum neovim version
|
||||||
function M.setup(opts)
|
function M.setup(opts)
|
||||||
M.config = {}
|
M.config = {}
|
||||||
M.config.system_open = opts.system_open or {}
|
M.config.system_open = opts.system_open or {}
|
||||||
|
|||||||
@ -92,7 +92,7 @@ function LiveFilter:apply_filter(node_)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- TODO(kiyan): this iterator cannot yet be refactored with the Iterator module
|
-- this iterator cannot yet be refactored with the Iterator module
|
||||||
-- since the node mapper is based on its children
|
-- since the node mapper is based on its children
|
||||||
local function iterate(node)
|
local function iterate(node)
|
||||||
local filtered_nodes = 0
|
local filtered_nodes = 0
|
||||||
|
|||||||
@ -118,7 +118,7 @@ function M.reload_project(toplevel, path, callback)
|
|||||||
callback()
|
callback()
|
||||||
end)
|
end)
|
||||||
else
|
else
|
||||||
-- TODO use callback once async/await is available
|
-- TODO #1974 use callback once async/await is available
|
||||||
local git_status = Runner.run(opts)
|
local git_status = Runner.run(opts)
|
||||||
reload_git_status(toplevel, path, project, git_status)
|
reload_git_status(toplevel, path, project, git_status)
|
||||||
end
|
end
|
||||||
|
|||||||
@ -269,7 +269,7 @@ function BaseNode:group_empty_folders()
|
|||||||
local is_root = not self.parent
|
local is_root = not self.parent
|
||||||
local child_folder_only = self:has_one_child_folder() and self.nodes[1]
|
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
|
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
|
self.group_next = child_folder_only
|
||||||
local ns = child_folder_only:group_empty_folders()
|
local ns = child_folder_only:group_empty_folders()
|
||||||
self.nodes = ns or {}
|
self.nodes = ns or {}
|
||||||
@ -292,7 +292,7 @@ end
|
|||||||
function BaseNode:expand_or_collapse(toggle_group)
|
function BaseNode:expand_or_collapse(toggle_group)
|
||||||
toggle_group = toggle_group or false
|
toggle_group = toggle_group or false
|
||||||
if self.has_children then
|
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
|
self.has_children = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user