diff --git a/init.lua b/init.lua index a28ef7d..285fdfc 100644 --- a/init.lua +++ b/init.lua @@ -222,6 +222,25 @@ require("lazy").setup({ 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" } + } + } }) require 'nvim-treesitter.configs'.setup({