diff --git a/init.lua b/init.lua index 99ff0df..e432097 100644 --- a/init.lua +++ b/init.lua @@ -216,12 +216,36 @@ require("lazy").setup({ "dstein64/nvim-scrollview", "sindrets/diffview.nvim", 'nvim-lua/plenary.nvim', - 'nvim-pack/nvim-spectre', + { + 'nvim-pack/nvim-spectre', + opts = { + live_update = true + } + }, { 'linrongbin16/lsp-progress.nvim', opts = {} }, { "cappyzawa/trim.nvim", opts = {} }, + { + "kdheepak/lazygit.nvim", + cmd = { + "LazyGit", + "LazyGitConfig", + "LazyGitCurrentFile", + "LazyGitFilter", + "LazyGitFilterCurrentFile", + }, + -- optional for floating window border decoration + dependencies = { + "nvim-lua/plenary.nvim", + }, + -- setting the keybinding for LazyGit with 'keys' is recommended in + -- order to load the plugin when the command is run for the first time + keys = { + { "lg", "LazyGit", desc = "LazyGit" } + } + }, { "kdheepak/lazygit.nvim", cmd = {