Improved how which key is loaded

This commit is contained in:
Warwick New 2026-03-03 11:22:58 +00:00
parent d0e7866ae9
commit 2862f6740d

View file

@ -1,6 +1,15 @@
return { return {
"folke/which-key.nvim", "folke/which-key.nvim",
lazy = false, event = "VeryLazy",
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
init = function() init = function()
vim.o.timeout = true vim.o.timeout = true
vim.o.timeoutlen = 0 vim.o.timeoutlen = 0