diff --git a/after/plugin/gitsigns.lua b/after/plugin/gitsigns.lua new file mode 100644 index 0000000..1a85e0c --- /dev/null +++ b/after/plugin/gitsigns.lua @@ -0,0 +1,9 @@ +require('gitsigns').setup{ + current_line_blame = true, + current_line_blame_opts = { + virt_text_pos = 'right_align', + delay = 0 + }, + current_line_blame_formatter = ', - ' +} + diff --git a/lua/plugins.lua b/lua/plugins.lua index 98286aa..7102800 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,5 +1,6 @@ return require('packer').startup(function(use) use 'wbthomason/packer.nvim' + use 'lewis6991/gitsigns.nvim' use { 'Mofiqul/dracula.nvim',