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',