fix: correct index in movement actions (#1058)
This commit is contained in:
committed by
GitHub
parent
08c57660a7
commit
d5a12ac9db
@@ -342,6 +342,10 @@ function M._prevent_buffer_override()
|
||||
end)
|
||||
end
|
||||
|
||||
function M.is_root_folder_visible(tree)
|
||||
return tree.cwd and tree.cwd ~= "/" and not M.View.hide_root_folder
|
||||
end
|
||||
|
||||
local DEFAULT_CONFIG = {
|
||||
width = 30,
|
||||
height = 30,
|
||||
|
||||
Reference in New Issue
Block a user