attempt to call field 'button' (a nil value) Error #330
Unanswered
CodeMstr14Trihaji
asked this question in
Q&A
Replies: 3 comments
-
|
Facing the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have managed to solve this problem man. Just try to enable ui.alpha extra. See https://www.lazyvim.org/extras. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
hopefully @CodeMstr14Trihaji's solution works for you, but this seems to be a combination of 1. a user configuration problem 2. a problem with the LazyVim distribution, and I am not willing or able to provide technical support for either |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I enabled this dashboard plugin, I immediately got an error notification like this upon startup:
I even copied my alpha theme configuration exactly from the LazyVim documentation to avoid breaking things early on. What should I do?
this is what i found in snack_picker.lua, line 174:
{ "goolord/alpha-nvim", optional = true, opts = function(_, dashboard) local button = dashboard.button("p", " " .. " Projects", [[<cmd> lua Snacks.picker.projects() <cr>]]) button.opts.hl = "AlphaButtons" button.opts.hl_shortcut = "AlphaShortcut" table.insert(dashboard.section.buttons.val, 4, button) end, },But when I comment out this code, the dashboard appears without any issues at all. However, since it's inside Lazy's folders, the same error message will show up again the next time I run
:Lazy update.Beta Was this translation helpful? Give feedback.
All reactions