diff --git a/lua/configs/git-blame.lua b/lua/configs/git-blame.lua new file mode 100644 index 0000000..785997e --- /dev/null +++ b/lua/configs/git-blame.lua @@ -0,0 +1,7 @@ +local M = {} + +function M.config() + vim.g.gitblame_enabled = 0 +end + +return M diff --git a/lua/plugins.lua b/lua/plugins.lua index c6d275a..aee12f8 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -60,7 +60,7 @@ packer.startup { -- Git use { 'lewis6991/gitsigns.nvim', config = function() require'configs.gitsigns'.config() end } - use { 'f-person/git-blame.nvim' } + use { 'f-person/git-blame.nvim', config = function() require'configs.git-blame'.config() end } -- Show indentation use { 'lukas-reineke/indent-blankline.nvim', config = function() require'configs.indent-blankline'.config() end }