added lazygit, need to reinstall

This commit is contained in:
topper3418 2024-07-14 03:41:43 -05:00
parent a2f8b29713
commit b05bbf4d2f
2 changed files with 21 additions and 0 deletions

View File

@ -253,6 +253,8 @@ require('lazy').setup({
require 'custom.plugins.ollama',
-- oil, a file explorer
require 'custom.plugins.oil',
-- lazy git, for git stuff
require 'lua.custom.plugins.lazygit',
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },

View File

@ -0,0 +1,19 @@
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' },
},
}