Skip to content

Commit

Permalink
fix: certain workspaces in directories not showing up
Browse files Browse the repository at this point in the history
Tables of tables index by number which causes them to break upon use of
vim.tbl_extend
  • Loading branch information
FireIsGood committed Nov 3, 2024
1 parent 7f57c95 commit 7910d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/spaceman/workspace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function M.get_workspaces()
for _, directory in pairs(directories) do
local dir_workspaces = Util.get_dir_folders(directory)
if dir_workspaces then
workspace_list = vim.tbl_extend("force", workspace_list, dir_workspaces or {})
vim.list_extend(workspace_list, dir_workspaces or {})
end
end

Expand Down

0 comments on commit 7910d20

Please sign in to comment.