diff --git a/README.md b/README.md index 35f3d114..485b11a9 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ Install the plugin with your package manager: ```lua { "folke/which-key.nvim", - event = "VeryLazy", opts = { -- your configuration comes here -- or leave it empty to use the default settings diff --git a/lazy.lua b/lazy.lua new file mode 100644 index 00000000..ae03cba6 --- /dev/null +++ b/lazy.lua @@ -0,0 +1,15 @@ +return { + "folke/which-key.nvim", + event = "VeryLazy", + cmd = "WhichKey", + opts = {}, + opts_extend = { + "disable.bt", + "disable.ft", + "icons.rules", + "replace.desc", + "replace.key", + "spec", + "triggers", + }, +}