Revert "refactor(#2871, #2886): multi instance: node classes created (#2916)"

This reverts commit 38aac09151.
This commit is contained in:
Alexander Courtis
2024-10-08 18:07:47 +11:00
parent 010ae0365a
commit 50e919426a
43 changed files with 742 additions and 835 deletions

View File

@@ -21,7 +21,7 @@ function M.reload_modified()
end
end
---@param node Node
---@param node table
---@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 Node
---@param node table
---@return boolean
function M.is_opened(node)
return node and vim.fn.bufloaded(node.absolute_path) > 0