fix: get rid of which-key depreciation warning in checkhealth
This commit is contained in:
parent
d1d4248eab
commit
71fef28992
1 changed files with 28 additions and 45 deletions
|
|
@ -25,23 +25,6 @@ return {
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local wk = require("which-key")
|
local wk = require("which-key")
|
||||||
wk.setup(opts)
|
wk.setup(opts)
|
||||||
--wk.register(opts.defaults)
|
wk.add(opts.spec)
|
||||||
wk.register(opts.spec)
|
|
||||||
|
|
||||||
--wk.add({
|
|
||||||
-- { "<leader>d", group = "diagnostics" },
|
|
||||||
-- { "<leader>f", group = "find shite" },
|
|
||||||
-- { "<leader>g", group = "git things" },
|
|
||||||
-- { "<leader>gl", desc = "git logg" },
|
|
||||||
-- { "<leader>q", desc = "trouble (this buffer)" },
|
|
||||||
-- --{ "<leader>ff", "<cmd>Telescope find_files<cr>", desc = "Find File", mode = "n" },
|
|
||||||
-- {
|
|
||||||
-- "<leader>fb",
|
|
||||||
-- function()
|
|
||||||
-- print("hello")
|
|
||||||
-- end,
|
|
||||||
-- desc = "Foobar",
|
|
||||||
-- },
|
|
||||||
--})
|
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue