feat: add diffview

This commit is contained in:
fiplox 2023-04-09 18:47:11 +02:00
parent fadc990adf
commit e99958be24
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
local M = { local M = {
'TimUntersberger/neogit', 'TimUntersberger/neogit',
dependencies = 'sindrets/diffview.nvim',
cmd = 'Neogit', cmd = 'Neogit',
} }
@ -28,6 +29,9 @@ function M.config()
popup = { popup = {
kind = 'split', kind = 'split',
}, },
status = {
recent_commit_count = 50,
},
-- customize displayed signs -- customize displayed signs
signs = { signs = {
-- { CLOSED, OPENED } -- { CLOSED, OPENED }
@ -48,7 +52,7 @@ function M.config()
-- } -- }
-- } -- }
-- --
diffview = false, diffview = true,
}, },
-- Setting any section to `false` will make the section not render at all -- Setting any section to `false` will make the section not render at all
sections = { sections = {