move many autocommands into Explorer

This commit is contained in:
Alexander Courtis
2024-10-21 15:36:21 +11:00
parent e2e6b2b095
commit ff85d8034c
6 changed files with 124 additions and 113 deletions

View File

@@ -36,6 +36,10 @@ function FileNode:create(explorer, parent, absolute_path, name, fs_stat)
return o
end
function FileNode:destroy()
Node.destroy(self)
end
---Update the GitStatus of the file
---@param parent_ignored boolean
---@param status table|nil