feat(editor): add lazygit integration for git management
This commit is contained in:
1 file changed
+22
@@ -37,6 +37,28 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- lazygit integration
|
||||||
|
{
|
||||||
|
'kdheepak/lazygit.nvim',
|
||||||
|
lazy = true,
|
||||||
|
enabled = true,
|
||||||
|
cmd = {
|
||||||
|
'LazyGit',
|
||||||
|
'LazyGitConfig',
|
||||||
|
'LazyGitCurrentFile',
|
||||||
|
'LazyGitFilter',
|
||||||
|
'LazyGitFilterCurrentFile',
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
vim.g.lazygit_floating_window_winblend = 0
|
||||||
|
vim.g.lazygit_floating_window_scaling_factor = 0.9
|
||||||
|
vim.g.lazygit_floating_window_border_chars = { '╭', '─', '╮', '│', '╯', '─', '╰', '│' }
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- Todo Comments
|
-- Todo Comments
|
||||||
{
|
{
|
||||||
'folke/todo-comments.nvim',
|
'folke/todo-comments.nvim',
|
||||||
|
|||||||
Reference in new issue
Block a user