From 64045a40dfb03eb4933d7e229c25e07e9d9aa896 Mon Sep 17 00:00:00 2001 From: "hui.liu" Date: Wed, 14 Jul 2021 12:45:11 +0800 Subject: Fix dashboard which key still appears when dashboard disabled (#923) * Fix dashboard which key still appears when dashboard disabled * Prevent override user_which_key --- lua/core/dashboard.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/core/dashboard.lua') diff --git a/lua/core/dashboard.lua b/lua/core/dashboard.lua index e58b6f06..9d161e7b 100644 --- a/lua/core/dashboard.lua +++ b/lua/core/dashboard.lua @@ -60,6 +60,8 @@ M.setup = function() vim.g.dashboard_custom_section = O.plugin.dashboard.custom_section + O.plugin.which_key.mappings[";"] = { "Dashboard", "Dashboard" } + -- f = { -- description = { " Neovim Config Files" }, -- command = "Telescope find_files cwd=" .. CONFIG_PATH, -- cgit v1.2.3