diff options
Diffstat (limited to 'dot_config/nvim/lua/plugins/which-key.lua')
| -rw-r--r-- | dot_config/nvim/lua/plugins/which-key.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dot_config/nvim/lua/plugins/which-key.lua b/dot_config/nvim/lua/plugins/which-key.lua index 62125fe..7db392f 100644 --- a/dot_config/nvim/lua/plugins/which-key.lua +++ b/dot_config/nvim/lua/plugins/which-key.lua @@ -1,11 +1,7 @@ return { "folke/which-key.nvim", event = "VeryLazy", - opts = { - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - }, + opts = {}, keys = { { "<leader>?", @@ -15,8 +11,9 @@ return { desc = "Buffer Local Keymaps (which-key)", }, }, - config = function() + config = function(_, opts) local wk = require("which-key") + wk.setup(opts) wk.add({ { "<leader>d", group = "Debug" }, { "<leader>f", group = "Telescope" }, |
