Feat: replace signify by gitsigns

This commit is contained in:
Bertrand Benjamin 2022-08-20 06:26:07 +02:00
parent 01d09bc9c0
commit 1734908df0
2 changed files with 30 additions and 25 deletions

View File

@ -0,0 +1 @@
require('gitsigns').setup {}

View File

@ -50,7 +50,11 @@ return packer.startup(function(use)
} }
use 'tpope/vim-fugitive' use 'tpope/vim-fugitive'
use 'mhinz/vim-signify' -- use 'mhinz/vim-signify'
use {
'lewis6991/gitsigns.nvim',
config = [[require('config.gitsigns')]],
}
use 'tpope/vim-surround' use 'tpope/vim-surround'
use 'tpope/vim-repeat' use 'tpope/vim-repeat'
@ -72,10 +76,10 @@ return packer.startup(function(use)
-- 'rafamadriz/friendly-snippets', -- 'rafamadriz/friendly-snippets',
}, },
} }
use {'hrsh7th/cmp-vsnip', after = 'nvim-cmp'} use { 'hrsh7th/cmp-vsnip', after = 'nvim-cmp' }
use {'hrsh7th/cmp-buffer', after = 'nvim-cmp'} use { 'hrsh7th/cmp-buffer', after = 'nvim-cmp' }
use {'hrsh7th/cmp-path', after = 'nvim-cmp'} use { 'hrsh7th/cmp-path', after = 'nvim-cmp' }
use {'hrsh7th/cmp-nvim-lsp', after = 'nvim-cmp'} use { 'hrsh7th/cmp-nvim-lsp', after = 'nvim-cmp' }
-- use {'f3fora/cmp-spell', after = 'nvim-cmp'} -- use {'f3fora/cmp-spell', after = 'nvim-cmp'}
-- for formatters and linters -- for formatters and linters
@ -89,10 +93,10 @@ return packer.startup(function(use)
use { use {
'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim',
config = [[require('config.telescope')]], config = [[require('config.telescope')]],
requires = { 'nvim-lua/plenary.nvim'} requires = { 'nvim-lua/plenary.nvim' }
} }
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
use { "nvim-telescope/telescope-file-browser.nvim" } use { "nvim-telescope/telescope-file-browser.nvim" }
use { use {
@ -122,7 +126,7 @@ return packer.startup(function(use)
use { use {
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
config=[[require('config.treesitter')]], config = [[require('config.treesitter')]],
run = ':TSUpdate', run = ':TSUpdate',
} }