nvim/plug: lewis6991/gitsigns.nvim@release

Replacing gitgutter, gitsigns appears to be the standard neovim git
integration plugin.

It is _significantly_ faster in responding to file deltas, and plays
really nicely with a lot of other tooling in the neovim ecosystem. It
also appears very customizable.
This commit is contained in:
Paul Stemmet 2022-07-21 19:05:33 +00:00 committed by Paul Stemmet
parent cc4a95f70d
commit 4ffaae034c
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,12 @@
return function()
local gitsigns, util = require 'gitsigns', require 'psoxizsh.util'
local defaults = {
sign_priority = 100,
current_line_blame_formatter_opts = {
relative_time = false
},
}
gitsigns.setup(util.mconfig('config.gitsigns', defaults))
end

View File

@ -48,6 +48,11 @@ local plugins = {
{ 'scrooloose/nerdcommenter' },
-- Stat line integrations
{ 'lewis6991/gitsigns.nvim',
tag = 'release',
requires = { 'nvim-lua/plenary.nvim' },
config = require 'psoxizsh.plugins.config.gitsigns'
},
-- Buffer mangement
{ 'qpkorr/vim-bufkill' },