diff options
Diffstat (limited to 'lua/ben/plugins/blamer.lua')
-rw-r--r-- | lua/ben/plugins/blamer.lua | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lua/ben/plugins/blamer.lua b/lua/ben/plugins/blamer.lua index 455db33..243a8a7 100644 --- a/lua/ben/plugins/blamer.lua +++ b/lua/ben/plugins/blamer.lua @@ -1,16 +1,16 @@ 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, - cmd = { "BlamerToggle", "BlamerShow" }, + "APZelos/blamer.nvim", + -- 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, + 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, + cmd = { "BlamerToggle", "BlamerShow" }, } |