Fix lazy.nvim Local Changes That Block vimdoc-ja and copilot.lua Updates
Reset dirty vimdoc-ja and copilot.lua trees before lazy.nvim updates
On a Linux machine I opened Neovim, ran :Lazy update, and it stopped with Failed (2).
The problem was not only doc/tags-ja in vimdoc-ja. .gitattributes and .github/workflows/format.yml in zbirenbaum/copilot.lua were also treated as “local changes”.
I had seen the same error on vimdoc-ja alone before, and I had put in a workaround that ran git checkout -- doc/tags-ja on LazyUpdatePre.
That was not enough this time.
The symptom The message that showed up at startup was the following.
[Read More]