Update git output section

This commit is contained in:
2025-10-29 19:31:01 +08:00
parent 6096ebc43c
commit a88222184f
3 changed files with 35 additions and 2 deletions

View File

@@ -37,13 +37,14 @@ function WriteWorkspace()
end
-- Write the workspace file
w("return "); wv(Lemon.workspace); nl()
w("return "); wv(Lemon.ws); nl()
vim.fn.writefile(s.ls, Lemon.ws_file)
end
-- Loads the workspace from the file, or return the default
---@param default table
---@return table
function InitWorkspace(default)
Lemon.ws = LoadWorkspace()
if Lemon.ws == nil then