Preserve cursor position across redraws (#1132)

This commit is contained in:
Mauricio Poppe
2022-04-03 05:23:07 -07:00
committed by GitHub
parent 00fd8aefe0
commit 8340753e26
2 changed files with 34 additions and 5 deletions

View File

@@ -126,6 +126,7 @@ function M.open(cwd)
else
open_view_and_draw()
end
view.restore_tab_state()
end
-- @deprecated: use nvim-tree.actions.collapse-all.fn