from-scratch rewrite (#1)

Reviewed-on: #1
This commit is contained in:
2025-06-26 08:53:33 +02:00
parent cc39bf4e49
commit 364c2d97f5
48 changed files with 1422 additions and 734 deletions

View File

@ -0,0 +1,21 @@
return {
"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.
keys= {
{ "<leader>gb", "<Cmd>GitBlameToggle<CR>", desc = "Toggle Git Blame Line" },
},
opts = {
-- your configuration comes here
-- for example
enabled = false, -- if you want to enable the plugin
message_template = " <summary> • <date> • <author> • <<sha>>", -- template for the blame message, check the Message template section for more options
date_format = "%Y-%m-%d", -- 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
},
}