Skip to content

Commit 4db89b3

Browse files
author
Test User
committed
feat: git blame
1 parent bb72e11 commit 4db89b3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lua/custom/plugins/git_blame.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
return {
2+
'f-person/git-blame.nvim',
3+
-- load the plugin at startup
4+
event = 'VeryLazy',
5+
-- Because of the keys part, you will be lazy loading this plugin.
6+
-- The plugin will only load once one of the keys is used.
7+
-- If you want to load the plugin at startup, add something like event = "VeryLazy",
8+
-- or lazy = false. One of both options will work.
9+
opts = {
10+
-- your configuration comes here
11+
-- for example
12+
enabled = true, -- if you want to enable the plugin
13+
message_template = ' <summary> • <date> • <author> • <<sha>>', -- template for the blame message, check the Message template section for more options
14+
date_format = '%m-%d-%Y %H:%M:%S', -- template for the date, check Date format section for more options
15+
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
16+
},
17+
}

0 commit comments

Comments
 (0)