From e783fde179c4195504c0e1a962ef63f58fb501db Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Sat, 23 Sep 2023 23:10:48 -0700 Subject: [PATCH] Unpin fugitive for patched Neovim versions --- neovim/lua/plugins.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index 2c6ebf0..b857304 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -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", "Git blame", { desc = "Git blame" }) require("utils").keymap_set("n", "gc", "Git commit", { desc = "Git commit" })