From 3ff6b841f29a917aafab113f9e5522da193127ce Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 18 Oct 2025 12:15:05 +0545 Subject: [PATCH] feat(editor): add lazygit integration for git management --- lua/plugins/editor.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 2b39a9c..fd7cf75 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -37,6 +37,28 @@ return { }, }, + -- lazygit integration + { + 'kdheepak/lazygit.nvim', + lazy = true, + enabled = true, + cmd = { + 'LazyGit', + 'LazyGitConfig', + 'LazyGitCurrentFile', + 'LazyGitFilter', + 'LazyGitFilterCurrentFile', + }, + keys = { + { 'lg', 'LazyGit', 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 { 'folke/todo-comments.nvim',