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:
parent
cc4a95f70d
commit
4ffaae034c
|
@ -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
|
|
@ -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' },
|
||||
|
|
Loading…
Reference in New Issue