1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 11:24:55 +02:00

update which-key config

This commit is contained in:
Henrik Hautakoski 2024-07-17 15:50:38 +02:00
parent c6a603d5f2
commit 2f8cb8c53a
4 changed files with 40 additions and 35 deletions

View file

@ -20,13 +20,12 @@ return {
end,
opts = function()
return {
defaults = keys.whichkey,
spec = keys.whichkey,
}
end,
config = function(_, opts)
local wk = require("which-key")
wk.setup(opts)
wk.register(opts.defaults or {})
end,
},
{