dotfiles/.config/nvim/lua/plugins/blame.lua
kekskurse 311a530ff4 nvim
2024-09-19 10:51:04 +02:00

31 lines
815 B
Lua

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,
},
}