From 2db14ae76ad047ee93e3734c565d8e7138e4d33e Mon Sep 17 00:00:00 2001 From: rootiest Date: Fri, 13 Sep 2024 09:20:39 -0400 Subject: [PATCH] feat: introduce command to update Neovim via nvim-updater --- lua/plugins/nvim_updater.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lua/plugins/nvim_updater.lua diff --git a/lua/plugins/nvim_updater.lua b/lua/plugins/nvim_updater.lua new file mode 100644 index 0000000..236d712 --- /dev/null +++ b/lua/plugins/nvim_updater.lua @@ -0,0 +1,24 @@ +return { -- Neovim Updater + "rootiest/nvim-updater.nvim", + config = function() + require("nvim_updater").setup({}) + end, + cmd = { + "UpdateNeovim", + }, + keys = { + { + "quU", + ":UpdateNeovim", + desc = "Update Neovim", + }, + { + "quD", + function() + require("nvim_updater").update_neovim({ build_type = "Debug" }) + end, + desc = "Debug Build Neovim", + }, + }, + dev = true, +}