We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f86636 commit a6da161Copy full SHA for a6da161
1 file changed
lua/opencode/session.lua
@@ -50,7 +50,7 @@ M.get_all_workspace_sessions = Promise.async(function()
50
if not util.is_git_project() then
51
-- we only want sessions that are in the current workspace_folder
52
sessions = vim.tbl_filter(function(session)
53
- if session.workspace and vim.startswith(vim.fn.getcwd(), session.workspace) then
+ if session.directory and vim.startswith(vim.fn.getcwd(), session.directory) then
54
return true
55
end
56
return false
0 commit comments