From 8fd4f99da37a1911ef78e36dec79d6b3fe07723f Mon Sep 17 00:00:00 2001 From: Manuuurino <2855338+manuuurino@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:27:22 +0200 Subject: [PATCH] fix(blame-nvim): adjust to the new rewrite (#892) * fix(blame-nvim): adjust to the new rewrite * chore(blame-nvim): use `opts` instead `config` for setup --- lua/astrocommunity/git/blame-nvim/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/astrocommunity/git/blame-nvim/init.lua b/lua/astrocommunity/git/blame-nvim/init.lua index 9f759c575..93149b3fb 100644 --- a/lua/astrocommunity/git/blame-nvim/init.lua +++ b/lua/astrocommunity/git/blame-nvim/init.lua @@ -1,6 +1,7 @@ return { "FabijanZulj/blame.nvim", - event = "User AstroGitFile", + cmd = "BlameToggle", + opts = {}, dependencies = { { "AstroNvim/astrocore", @@ -9,7 +10,7 @@ return { mappings = { n = { ["gB"] = { - "ToggleBlame", + "BlameToggle", desc = "Toggle git blame", }, },