feat: introduce command to update Neovim via nvim-updater
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
return { -- Neovim Updater
|
||||||
|
"rootiest/nvim-updater.nvim",
|
||||||
|
config = function()
|
||||||
|
require("nvim_updater").setup({})
|
||||||
|
end,
|
||||||
|
cmd = {
|
||||||
|
"UpdateNeovim",
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<Leader>quU",
|
||||||
|
":UpdateNeovim<CR>",
|
||||||
|
desc = "Update Neovim",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<Leader>quD",
|
||||||
|
function()
|
||||||
|
require("nvim_updater").update_neovim({ build_type = "Debug" })
|
||||||
|
end,
|
||||||
|
desc = "Debug Build Neovim",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
dev = true,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user