fix: correct index in movement actions (#1058)
This commit is contained in:
committed by
GitHub
parent
08c57660a7
commit
d5a12ac9db
@@ -295,9 +295,7 @@ local function update_draw_data(tree, depth, markers)
|
||||
["readme.md"] = true,
|
||||
}
|
||||
|
||||
local hide_root_folder = view.View.hide_root_folder
|
||||
|
||||
if tree.cwd and tree.cwd ~= "/" and not hide_root_folder then
|
||||
if view.is_root_folder_visible(tree) then
|
||||
local root_name = utils.path_join {
|
||||
utils.path_remove_trailing(vim.fn.fnamemodify(tree.cwd, root_folder_modifier)),
|
||||
"..",
|
||||
|
||||
Reference in New Issue
Block a user