improve neogit

This commit is contained in:
Thomas Ruoff
2026-01-08 17:12:41 +01:00
parent ad8482ad5c
commit 8f7712115b

View File

@@ -3,16 +3,14 @@ return {
'NeogitOrg/neogit',
lazy = false,
dependencies = {
'nvim-lua/plenary.nvim', -- required
'sindrets/diffview.nvim', -- optional - Diff integration
'folke/snacks.nvim', -- optional
'nvim-lua/plenary.nvim',
'sindrets/diffview.nvim',
'folke/snacks.nvim',
},
event = 'User InGitRepo',
opts = {
graph_style = 'kitty',
graph_style = 'unicode',
kind = 'vsplit',
integrations = {
diffview = 'diffview',
},
},
keys = {
{ '<leader>gs', ':Neogit<CR>', { desc = '[g]it [s]tatus' } },
@@ -21,13 +19,15 @@ return {
{
'sindrets/diffview.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
opts = {
diff_args = { '--ignore-all-space' },
},
},
{
'lewis6991/gitsigns.nvim',
event = { 'BufReadPre', 'BufNewFile' },
opts = {
current_line_blame = false,
},
},
-- {
-- 'tpope/vim-fugitive',
-- lazy = false,
-- keys = {
-- { '<leader>gs', ':vertical Git<CR>', { desc = '[g]it [s]tatus' } },
-- },
-- },
-- { 'tpope/vim-rhubarb' },
}