1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-30 21:23:40 +00:00

Add diffview

This commit is contained in:
Mo8it 2022-04-04 14:55:58 +02:00
parent 3c6066dbf0
commit 0f439cfe4b
3 changed files with 13 additions and 1 deletions

View file

@ -5,13 +5,20 @@ return require("packer").startup(function()
-- Themes -- Themes
use("olimorris/onedarkpro.nvim") use("olimorris/onedarkpro.nvim")
-- Git -- Gitsigns
use({ use({
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",
requires = { requires = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
}, },
}) })
-- Diffview
use({
"sindrets/diffview.nvim",
requires = {
"nvim-lua/plenary.nvim",
},
})
-- Telescope -- Telescope
use({ use({

View file

@ -0,0 +1 @@
require("diffview").setup()

View file

@ -1,4 +1,8 @@
require("focus").setup({ require("focus").setup({
autoresize = false, -- Until bug with Diffview is closed
sign_column = true, sign_column = true,
hybridnumber = true, hybridnumber = true,
excluded_filetypes = {
"DiffviewFiles",
},
}) })