summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/blamer.lua
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-19 21:34:06 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-19 21:34:06 -0500
commitdf24ad7acdffd68e0c25921c518875a6bd3ac4c3 (patch)
tree8c2dd2e227ba800422f4b51708776863d5429710 /lua/ben/plugins/blamer.lua
parent70e46cb880af1c201e184d9d50f88e0fc4b30c76 (diff)
Use lf inside nvim
Diffstat (limited to 'lua/ben/plugins/blamer.lua')
-rw-r--r--lua/ben/plugins/blamer.lua28
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" },
}