Skip to content

Commit

Permalink
feat(git): show help on how to remove local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 10, 2023
1 parent 92869d0 commit 58e5726
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/lazy/manage/task/git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 58e5726

Please sign in to comment.