Adding lazygit as custom puglin

Also, adding a typo fix
This commit is contained in:
Juan Miguel Rúa 2024-06-04 10:54:14 +02:00
parent bb84af4acf
commit 7ab92babb0
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,21 @@
return {
{
'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 = {
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
},
},
}