refacto: buffer management, setup fixes, autocmd fixes (#967)

This commit is contained in:
Kiyan
2022-02-14 19:16:45 +01:00
committed by GitHub
parent 3f4ed9b6c2
commit 6da7467944
11 changed files with 377 additions and 379 deletions

View File

@@ -56,7 +56,7 @@ function M.fn(fname)
if tree_altered then
renderer.draw()
end
if index and view.win_open() then
if index and view.is_visible() then
view.set_cursor({index, 0})
end
end