nvimdev / dashboard-nvim

vim dashboard
MIT License
2.34k stars 190 forks source link

[Help]: How to execute commands in config? #428

Closed niksingh710 closed 7 months ago

niksingh710 commented 7 months ago
      shortcut = {
        { desc = " config", group = "DiagnosticWarn", action = "e ~/.config/nvim/init.lua", key = "c" },
}

This action fails to work. it opens an empty buffer.

niksingh710 commented 7 months ago

action can be a fn type so.