chore: switch cd to lcd and update root on dirchanged

This commit is contained in:
kiyan
2021-06-07 20:09:48 +02:00
parent f1f14885f7
commit 3196205131
5 changed files with 12 additions and 2 deletions

View File

@@ -410,7 +410,7 @@ function M.change_dir(foldername)
return
end
vim.cmd('cd '..foldername)
vim.cmd('lcd '..foldername)
M.Tree.entries = {}
M.init(false, true)
end