* feat(#2092): add api.node.navigate.open.next, prev * feat(#2092): add api.node.navigate.listed.next, prev * feat(#2092): add api.node.navigate.opened.next, prev * feat(#2092): add api.node.navigate.opened.next, prev
This commit is contained in:
committed by
GitHub
parent
7cd722ff3a
commit
0c9bfe7225
@@ -18,6 +18,8 @@ function M.fn(where, what)
|
||||
valid = explorer_node.get_git_status(node) ~= nil
|
||||
elseif what == "diag" then
|
||||
valid = node.diag_status ~= nil
|
||||
elseif what == "opened" then
|
||||
valid = vim.fn.bufloaded(node.absolute_path) ~= 0
|
||||
end
|
||||
|
||||
if not first and valid then
|
||||
|
||||
Reference in New Issue
Block a user