feat: diffview.nvim
This commit is contained in:
parent
dbf86525ea
commit
b9991da218
3 changed files with 19 additions and 0 deletions
|
@ -49,6 +49,7 @@ with final.pkgs.lib; let
|
|||
indent-blankline-nvim
|
||||
mini-animate
|
||||
nvim-treesitter-context
|
||||
diffview-nvim
|
||||
|
||||
# Editor
|
||||
neo-tree-nvim
|
||||
|
|
17
nvim/lua/plugins/ui/diffview-nvim.lua
Normal file
17
nvim/lua/plugins/ui/diffview-nvim.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
'diffview.nvim',
|
||||
cmd = {
|
||||
'DiffviewOpen',
|
||||
'DiffviewClose',
|
||||
'DiffviewToggleFiles',
|
||||
'DiffviewFocusFiles',
|
||||
'DiffviewRefresh',
|
||||
'DiffviewFileHistory',
|
||||
},
|
||||
before = function()
|
||||
require('lz.n').trigger_load({ 'mini.icons' })
|
||||
end,
|
||||
after = function()
|
||||
require('diffview').setup({})
|
||||
end,
|
||||
}
|
|
@ -3,6 +3,7 @@ local req = MarleyVim.local_require('plugins.ui')
|
|||
return {
|
||||
req('alpha-nvim'),
|
||||
req('bufferline-nvim'),
|
||||
req('diffview-nvim'),
|
||||
req('indent-blankline-nvim'),
|
||||
req('lualine-nvim'),
|
||||
req('mini-animate'),
|
||||
|
|
Loading…
Reference in a new issue