blob: 9d5e6c4112699c54a3d553ad4a3d6af515540aa8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
return {
-- Only load if on a compatible OS and git is installed
cond = function()
local goodOS = (vim.fn.has("linux") == 1) or (vim.fn.has("mac") == 1)
local hasGit = vim.fn.executable("git") == 1
return goodOS and hasGit
end,
"APZelos/blamer.nvim",
config = function()
vim.g.blamer_enabled = 1
vim.g.blamer_delay = 500
vim.g.blamer_template = "<committer>, <committer-time> • <summary>"
vim.g.blamer_prefix = ">"
end,
}
|