mirror of
https://github.com/tomru/nvim.git
synced 2026-03-02 22:17:13 +01:00
improve neogit
This commit is contained in:
@@ -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' },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user