nvimdev / dashboard-nvim

vim dashboard
MIT License
2.21k stars 179 forks source link

💥 Breaking changes LuaJIT 5.2 #407

Closed ProgmRuanSilva closed 4 months ago

ProgmRuanSilva commented 7 months ago

Describe the bug LuaJit 5.2 changed several methods, loadstring() doesn't have more support, and this breaks the hyper theme in several lines.

So, when I open the neovim an error appears in vim.schedule (see the first screenshot)

Now the suggested method is load See one article about that: loadstring

The unpack() method also are changed. The suggested method is now table.unpack

To Reproduce Steps to reproduce the behavior:

  1. Open neovim
  2. See error

Expected behavior After these changes I believe, which this works correctly

Screenshots image image image

pSchwietzer commented 4 months ago

Can confirm this bug. Current solution to get rid of this error is to simply disable projects in the config:

config = {
    project = {
        enable = false,
         -- rest of project config
    },
    -- rest of config
}
ProgmRuanSilva commented 4 months ago

thanks for the help :)