heavenshell / vim-jsdoc

Generate JSDoc to your JavaScript code.
BSD 3-Clause "New" or "Revised" License
452 stars 44 forks source link

yarn.lock changes prevent vim-plug from updating vim-jsdoc #103

Closed boblannon closed 3 years ago

boblannon commented 3 years ago

After running PlugUpdate most of my plugins updated successfully but I got an error for vim-jsdoc.

x vim-jsdoc:
    error: Your local changes to the following files would be overwritten by merge:
        lib/yarn.lock
    Please commit your changes or stash them before you merge.
    Aborting
    Updating 1aaa337..5487673

Just wanted to give a friendly heads-up!

If anyone else runs into this, the workaround is fairly simple, just

cd ~/.vim/plugged/vim-jsdoc
git checkout -- yarn.lock

Then re-run PlugUpdate.

heavenshell commented 3 years ago

Thx for reporting! Add to README.md