feat: add winid parameter for api.tree.open, toggle, find_file (#2213)
* feat: add winid parameter for api.tree.open, toggle, find_file * feat: add winid parameter for api.tree.open, toggle, find_file
This commit is contained in:
committed by
GitHub
parent
736c7ff590
commit
b1e074d2b5
@@ -45,7 +45,7 @@ function M.fn(opts, no_focus, cwd, bang)
|
||||
view.close()
|
||||
else
|
||||
-- open
|
||||
lib.open { path = opts.path, current_window = opts.current_window }
|
||||
lib.open { path = opts.path, current_window = opts.current_window, winid = opts.winid }
|
||||
|
||||
-- find file
|
||||
if M.config.update_focused_file.enable or opts.find_file then
|
||||
|
||||
Reference in New Issue
Block a user