Commit 5262736
committed
Set math.randomseed before generating sponsor message
As explained in the docstring to `nfnl.core/rand`:
> You must have a random seed set before running this:
> `(math.randomseed (os.time))`
At present, Conjure does not do this and as a result the sponsor message
is not selecting a random sponsor (unless the user happens to call
`math.randomseed` within their Neovim environment).
This commit adds the call recommended in the docstring.1 parent 6770556 commit 5262736
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments