Fix dashboard which key still appears when dashboard disabled (#923)

* Fix dashboard which key still appears when dashboard disabled

* Prevent override user_which_key
This commit is contained in:
hui.liu 2021-07-14 12:45:11 +08:00 committed by GitHub
parent 3dfb4184b7
commit 64045a40df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -60,6 +60,8 @@ M.setup = function()
vim.g.dashboard_custom_section = O.plugin.dashboard.custom_section
O.plugin.which_key.mappings[";"] = { "<cmd>Dashboard<CR>", "Dashboard" }
-- f = {
-- description = { " Neovim Config Files" },
-- command = "Telescope find_files cwd=" .. CONFIG_PATH,