Skip to content

Commit

Permalink
fix(dashboard): randomseed needs argument on stable
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 21, 2024
1 parent c208542 commit c359164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/snacks/dashboard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local M = setmetatable({}, {
})

local uv = vim.uv or vim.loop
math.randomseed()
math.randomseed(os.time())

---@class snacks.dashboard.Item
---@field indent? number
Expand Down

1 comment on commit c359164

@AbuCodes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! i just updated about 30 minutes ago and was dealing with this problem. its working now ❤

Please sign in to comment.