diff --git a/lua/configs/f-person/git-blame-nvim/config.lua b/lua/configs/f-person/git-blame-nvim/config.lua new file mode 100644 index 00000000..b1c20d1e --- /dev/null +++ b/lua/configs/f-person/git-blame-nvim/config.lua @@ -0,0 +1,6 @@ +require("gitblame").setup({ + enabled = false, + delay = 300, + message_template = " ", + message_when_not_committed = " • Not Committed Yet", +}) diff --git a/lua/configs/f-person/git-blame-nvim/init.lua b/lua/configs/f-person/git-blame-nvim/init.lua deleted file mode 100644 index 2d2e4b8f..00000000 --- a/lua/configs/f-person/git-blame-nvim/init.lua +++ /dev/null @@ -1,8 +0,0 @@ --- disable git blame on start -vim.g.gitblame_enabled = 0 --- delay -vim.g.gitblame_delay = 300 --- message template -vim.g.gitblame_message_template = " " -vim.g.gitblame_message_when_not_committed = - " • Not Committed Yet" \ No newline at end of file diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 1760cd6c..f26224af 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -334,7 +334,7 @@ local M = { { "f-person/git-blame.nvim", event = { VeryLazy, CmdlineEnter }, - init = lua_init("f-person/git-blame.nvim"), + config = lua_config("f-person/git-blame.nvim"), keys = lua_keys("f-person/git-blame.nvim"), }, -- Permlink