* Reapply "refactor(#2871, #2886): multi instance: node classes created (#2916)"
This reverts commit 50e919426a.
* fix(#2945): stack overflow on api.git.reload or fugitive event
This commit is contained in:
committed by
GitHub
parent
50e919426a
commit
5ad87620ec
@@ -21,7 +21,7 @@ function M.reload_modified()
|
||||
end
|
||||
end
|
||||
|
||||
---@param node table
|
||||
---@param node Node
|
||||
---@return boolean
|
||||
function M.is_modified(node)
|
||||
return node
|
||||
@@ -32,7 +32,7 @@ function M.is_modified(node)
|
||||
end
|
||||
|
||||
---A buffer exists for the node's absolute path
|
||||
---@param node table
|
||||
---@param node Node
|
||||
---@return boolean
|
||||
function M.is_opened(node)
|
||||
return node and vim.fn.bufloaded(node.absolute_path) > 0
|
||||
|
||||
Reference in New Issue
Block a user