mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
use neogit, cause I love magit
This commit is contained in:
@@ -1,22 +1,33 @@
|
|||||||
return {
|
return {
|
||||||
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
|
{
|
||||||
'lewis6991/gitsigns.nvim',
|
'NeogitOrg/neogit',
|
||||||
opts = {
|
lazy = false,
|
||||||
signs = {
|
dependencies = {
|
||||||
add = { text = '+' },
|
'nvim-lua/plenary.nvim', -- required
|
||||||
change = { text = '~' },
|
'sindrets/diffview.nvim', -- optional - Diff integration
|
||||||
delete = { text = '_' },
|
'folke/snacks.nvim', -- optional
|
||||||
topdelete = { text = '‾' },
|
|
||||||
changedelete = { text = '~' },
|
|
||||||
},
|
},
|
||||||
|
opts = {
|
||||||
|
graph_style = 'kitty',
|
||||||
|
kind = 'vsplit',
|
||||||
|
integrations = {
|
||||||
|
diffview = 'diffview',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{ '<leader>gs', ':Neogit<CR>', { desc = '[g]it [s]tatus' } },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'tpope/vim-fugitive',
|
'sindrets/diffview.nvim',
|
||||||
keys = {
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||||
{ '<leader>gs', ':vertical Git<CR>', { desc = '[g]it [s]tatus' } },
|
|
||||||
},
|
},
|
||||||
},
|
-- {
|
||||||
{ 'tpope/vim-rhubarb' },
|
-- 'tpope/vim-fugitive',
|
||||||
{ 'sindrets/diffview.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' } },
|
-- lazy = false,
|
||||||
|
-- keys = {
|
||||||
|
-- { '<leader>gs', ':vertical Git<CR>', { desc = '[g]it [s]tatus' } },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- { 'tpope/vim-rhubarb' },
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user