This commit is contained in:
committed by
GitHub
parent
fee6801393
commit
9e4c39572f
@@ -13,7 +13,7 @@ local running = {}
|
|||||||
---Find a path in the tree, expand it and focus it
|
---Find a path in the tree, expand it and focus it
|
||||||
---@param fname string full path
|
---@param fname string full path
|
||||||
function M.fn(fname)
|
function M.fn(fname)
|
||||||
if not core.get_explorer() then
|
if not core.get_explorer() or not view.is_visible() then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user