feat(lazy): allow for hot loading plugin specs
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
-- https://github.com/famiu/bufdelete.nvim
|
||||
|
||||
local function setup()
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<C-w>q",
|
||||
vim.cmd.Bwipeout,
|
||||
{ remap = false, silent = true, }
|
||||
)
|
||||
end
|
||||
|
||||
return setup
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"famiu/bufdelete.nvim",
|
||||
keys = {
|
||||
{ "<C-w>q", vim.cmd.Bwipeout, { remap = false, silent = true }, mode = "n" },
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user