* Revert "feat(#2826): allow only one window with nvim-tree buffer per tab (#3174)" This reverts commitdd2364d680. * Revert "refactor(#2826): View tracks winids and bufnrs via events, unused for now (#3170)" This reverts commit65bae44922. * Revert "refactor(#2826): remove view debug/cc, enable new codepaths for get_winid and get_bufnr (#3169)" This reverts commita9156c0139.
This commit is contained in:
committed by
GitHub
parent
dd2364d680
commit
9b289abd69
@@ -44,7 +44,7 @@ function M.fn(opts, no_focus, cwd, bang)
|
||||
|
||||
if explorer and explorer.view:is_visible() then
|
||||
-- close
|
||||
explorer.view:close()
|
||||
explorer.view:close(nil, "toggle.fn")
|
||||
else
|
||||
-- open
|
||||
lib.open({
|
||||
|
||||
Reference in New Issue
Block a user