From 58e5726592a3f4a83735edfea996911d8daea002 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 10 Oct 2023 11:53:00 +0200 Subject: [PATCH] feat(git): show help on how to remove local changes --- lua/lazy/manage/task/git.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/lazy/manage/task/git.lua b/lua/lazy/manage/task/git.lua index 1c70b38..9913ea1 100644 --- a/lua/lazy/manage/task/git.lua +++ b/lua/lazy/manage/task/git.lua @@ -181,7 +181,8 @@ M.status = { for _, line in ipairs(lines) do self.error = self.error .. " * " .. line .. "\n" end - self.error = self.error .. "Please remove them to update." + self.error = self.error .. "Please remove them to update.\n" + self.error = self.error .. "You can also press `x` to remove the plugin and then `I` to install it again." end end end,