Move plugin keymaps to lazy keys option
parent
68a73c417e
commit
0982ebf334
@ -1,9 +1,11 @@
|
||||
-- Formatter plugin
|
||||
return {
|
||||
"sbdchd/neoformat",
|
||||
config = function()
|
||||
require("which-key").register({
|
||||
f = { "<cmd>Neoformat<CR>", "Format with Neoformat" },
|
||||
}, { prefix = "<leader>" })
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
desc = "Format with Neoformat",
|
||||
"<leader>f",
|
||||
"<cmd>Neoformat<cr>",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue