diff --git a/lua/plugins.lua b/lua/plugins.lua index ff55d19..b068cea 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -44,15 +44,7 @@ return require('packer').startup({ function(use) end }) - use { - 'tanvirtin/vgit.nvim', - requires = { - 'nvim-lua/plenary.nvim' - }, - config = function() - require('vgit').setup() - end - } + use 'f-person/git-blame.nvim' -- obsession use 'tpope/vim-obsession' @@ -306,7 +298,18 @@ return require('packer').startup({ function(use) 'hoob3rt/lualine.nvim', requires = { { 'kyazdani42/nvim-web-devicons', opt = true } }, config = function() - require('lualine').setup({ options = { theme = 'pywal-nvim' } }) + vim.g.gitblame_display_virtual_text = 0 -- Disable virtual text + local git_blame = require('gitblame') + require('lualine').setup({ + sections = { + lualine_c = { + { git_blame.get_current_blame_text, cond = git_blame.is_blame_text_available } + }, + }, + options = { + theme = 'pywal-nvim' + } + }) end, after = 'pywal' }