Browse Source

fix: `<leader>` keybinds not working when whichkey disabled.

my-config
connorgmeean 3 years ago
parent
commit
d46c7b8ed3
  1. 4
      lua/doom/modules/core/doom/init.lua

4
lua/doom/modules/core/doom/init.lua

@ -126,7 +126,6 @@ required.binds = function ()
if is_plugin_disabled("explorer") then
table.insert(binds, { "<F3>", ":Lexplore%s<CR>", name = "Toggle explorer" })
if not is_plugin_disabled("whichkey") then
table.insert(binds, {
"<leader>",
name = "+prefix",
@ -141,9 +140,7 @@ required.binds = function ()
},
})
end
end
if not is_plugin_disabled("whichkey") then
local split_modes = {
vertical = "vert ",
horizontal = "",
@ -312,7 +309,6 @@ required.binds = function ()
},
},
})
end
return binds
end

Loading…
Cancel
Save