aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins/which-key.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/kickstart/plugins/which-key.lua')
-rw-r--r--lua/kickstart/plugins/which-key.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/kickstart/plugins/which-key.lua b/lua/kickstart/plugins/which-key.lua
index 776a052..b73b17b 100644
--- a/lua/kickstart/plugins/which-key.lua
+++ b/lua/kickstart/plugins/which-key.lua
@@ -4,9 +4,9 @@
-- lazy loading plugins that don't need to be loaded immediately at startup.
--
-- For example, in the following configuration, we use:
--- event = 'VeryLazy'
+-- event = 'VimEnter'
--
--- which loads which-key after all the UI elements are loaded. Events can be
+-- which loads which-key before all the UI elements are loaded. Events can be
-- normal autocommands events (`:help autocmd-events`).
--
-- Then, because we use the `config` key, the configuration only runs
@@ -16,7 +16,7 @@
return {
{ -- Useful plugin to show you pending keybinds.
'folke/which-key.nvim',
- event = 'VeryLazy', -- Sets the loading event to 'VeryLazy'
+ event = 'VimEnter', -- Sets the loading event to 'VimEnter'
config = function() -- This is the function that runs, AFTER loading
require('which-key').setup()