mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-30 21:23:40 +00:00
Add diffview
This commit is contained in:
parent
3c6066dbf0
commit
0f439cfe4b
3 changed files with 13 additions and 1 deletions
|
@ -5,13 +5,20 @@ return require("packer").startup(function()
|
|||
-- Themes
|
||||
use("olimorris/onedarkpro.nvim")
|
||||
|
||||
-- Git
|
||||
-- Gitsigns
|
||||
use({
|
||||
"lewis6991/gitsigns.nvim",
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
})
|
||||
-- Diffview
|
||||
use({
|
||||
"sindrets/diffview.nvim",
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
})
|
||||
|
||||
-- Telescope
|
||||
use({
|
||||
|
|
1
.config/nvim/lua/plugins/diffview.lua
Normal file
1
.config/nvim/lua/plugins/diffview.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require("diffview").setup()
|
|
@ -1,4 +1,8 @@
|
|||
require("focus").setup({
|
||||
autoresize = false, -- Until bug with Diffview is closed
|
||||
sign_column = true,
|
||||
hybridnumber = true,
|
||||
excluded_filetypes = {
|
||||
"DiffviewFiles",
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue