Unpin fugitive for patched Neovim versions

This commit is contained in:
ViViDboarder 2023-09-23 23:10:48 -07:00
parent 7739ba5579
commit e783fde179

View File

@ -158,7 +158,10 @@ use({
"tpope/vim-fugitive",
-- HACK: Pinning to avoid neovim bug https://github.com/neovim/neovim/issues/10121
-- when used in status line.
tag = "v3.6",
tag = utils.map_version_rule({
[">=0.9.2"] = utils.nil_val,
["<0.9.2"] = "v3.6",
}),
config = function()
require("utils").keymap_set("n", "gb", "<cmd>Git blame<CR>", { desc = "Git blame" })
require("utils").keymap_set("n", "gc", "<cmd>Git commit<CR>", { desc = "Git commit" })