nvimdev / dashboard-nvim

vim dashboard
MIT License
2.34k stars 190 forks source link

Error when config.shortcut set empty #433

Open BSiddharth opened 7 months ago

BSiddharth commented 7 months ago

Describe the bug Error when shortcut set empty

To Reproduce Set configs as folllows

{
    "nvimdev/dashboard-nvim",
    event = "VimEnter",
    config = function()
            require("dashboard").setup({
            config = {
                      week_header = {
                          enable = true, --boolean use a week header
                      },
                      shortcut = {}, <-------- Here !!!
                      footer = { "Major bugs 🐛 incoming !!!" },
                },
                })
            end,
            dependencies = { "nvim-tree/nvim-web-devicons" },
},

Expected behavior Wanted to remove the default [Github] [glepnir] [version]

Screenshots error