dotfiles/.config/nvim/lua/plugins/blame.lua

32 lines
815 B
Lua
Raw Normal View History

2024-09-19 08:51:04 +00:00
return {
{
"FabijanZulj/blame.nvim",
config = function()
require("blame").setup({
mode = "virtual",
virt_text_pos = "eol",
virt_text_format = "  %committer  %h  %l  %d",
virt_text = true,
virt_text_sep = " ",
window = 0,
show_message = true,
message_pos = "eol",
message_format = " %h %s",
message_sep = " ",
message_highlight = "WarningMsg",
message_width = 60,
message_text = true,
message_text_pos = "eol",
message_text_format = " %h %s",
message_text_highlight = "WarningMsg",
message_text_sep = " ",
keymaps = {
n = "<leader>gb",
N = "<leader>gB",
v = "<leader>gb",
},
})
end,
},
}