From 34bd74f8c28446cf3e470a03b65193f58ee0584a Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 11 Feb 2024 00:00:16 +0530 Subject: [PATCH] setup git-blame --- after/plugin/gitblame.lua | 4 ++++ lua/plugins.lua | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 after/plugin/gitblame.lua diff --git a/after/plugin/gitblame.lua b/after/plugin/gitblame.lua new file mode 100644 index 0000000..446af76 --- /dev/null +++ b/after/plugin/gitblame.lua @@ -0,0 +1,4 @@ +require('gitblame').setup{ + date_format = '%r', + message_when_not_committed = '' +} diff --git a/lua/plugins.lua b/lua/plugins.lua index 14297ae..6d58f9c 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -14,5 +14,8 @@ return require('packer').startup(function(use) } use { 'nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' } } + use { + 'f-person/git-blame.nvim' + } end)