From df24ad7acdffd68e0c25921c518875a6bd3ac4c3 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 19 Jan 2024 21:34:06 -0500 Subject: Use lf inside nvim --- lua/ben/plugins/blamer.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'lua/ben/plugins/blamer.lua') 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 = ", " - 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 = ", " + vim.g.blamer_prefix = ">" + end, + cmd = { "BlamerToggle", "BlamerShow" }, } -- cgit v1.2.3