mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
update which-key config
This commit is contained in:
parent
c6a603d5f2
commit
2f8cb8c53a
4 changed files with 40 additions and 35 deletions
|
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue