refactor(#2826): singleton View class, WIP

This commit is contained in:
Alexander Courtis
2025-04-20 13:20:41 +10:00
parent 3c024975fd
commit a3fe0c9007
7 changed files with 57 additions and 48 deletions

View File

@@ -42,7 +42,7 @@ function M.fn(opts, no_focus, cwd, bang)
if view.is_visible() then
-- close
view.close()
view.View:close()
else
-- open
lib.open({