fix: correct index in movement actions (#1058)
This commit is contained in:
committed by
GitHub
parent
08c57660a7
commit
d5a12ac9db
@@ -77,7 +77,7 @@ function M.fn()
|
||||
end
|
||||
|
||||
if found_something and view.is_visible() then
|
||||
if TreeExplorer.cwd ~= "/" and not view.View.hide_root_folder then
|
||||
if view.is_root_folder_visible(TreeExplorer) then
|
||||
index = index + 1
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user