diff --git a/init.lua b/init.lua index e5385ffa..f5a73b1a 100644 --- a/init.lua +++ b/init.lua @@ -277,7 +277,7 @@ require('lazy').setup({ 'folke/which-key.nvim', event = 'VimEnter', -- Sets the loading event to 'VimEnter' config = function() -- This is the function that runs, AFTER loading - require('which-key').setup({ + require('which-key').setup { -- some features of which key prevent normal functioning of the key -- this is a bug, so we will disable the problematic features. -- which-key is very useful for those new to vim motions, so it is still included. @@ -286,10 +286,10 @@ require('lazy').setup({ registers = false, -- shows your registers on " in NORMAL or in INSERT mode presets = { -- this will currently prevent the keybinds from working in normal mode. - windows = false, -- default bindings on + windows = false, -- default bindings on }, }, - }) + } -- Document existing key chains require('which-key').register {