24 lines
542 B
Lua
24 lines
542 B
Lua
return {
|
|
{
|
|
'NeogitOrg/neogit',
|
|
version = 'v0.0.1', -- Version required for nvim 0.9.5
|
|
dependencies = {
|
|
'nvim-lua/plenary.nvim',
|
|
'sindrets/diffview.nvim',
|
|
'nvim-telescope/telescope.nvim',
|
|
},
|
|
keys = {
|
|
{ '<leader>ng', ':Neogit cwd=%:p:h<CR>', desc = 'Open neogit repository for current buffer' },
|
|
},
|
|
config = function()
|
|
require('neogit').setup {
|
|
kind = 'split',
|
|
integrations = {
|
|
diffview = true,
|
|
telescope = true,
|
|
},
|
|
}
|
|
end,
|
|
},
|
|
}
|