move git blame plugin to custom plugins

This commit is contained in:
Dennis Chan 2025-04-25 16:01:20 +08:00
parent 453e63bb98
commit 3f24417060
2 changed files with 23 additions and 24 deletions

View file

@ -1,5 +1,19 @@
-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}
return { -- Git Blame Plugin
{
'f-person/git-blame.nvim',
-- load the plugin at startup
event = 'VeryLazy',
-- Because of the keys part, you will be lazy loading this plugin.
-- The plugin will only load once one of the keys is used.
-- If you want to load the plugin at startup, add something like event = "VeryLazy",
-- or lazy = false. One of both options will work.
opts = {
-- your configuration comes here
-- for example
enabled = true, -- if you want to enable the plugin
message_template = ' <author> • <date> • <summary> ', -- template for the blame message, check the Message template section for more options
date_format = '%Y-%m-%d %H:%M', -- template for the date, check Date format section for more options
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
},
},
}