vuki656 / package-info.nvim

✍️ All the npm/yarn/pnpm commands I don't want to type
GNU General Public License v3.0
480 stars 27 forks source link

fix: remove reloads in show command #95

Closed mtoohey31 closed 2 years ago

mtoohey31 commented 2 years ago

As far as I can tell, we don't need to reload the buffer after the show command, because checking for outdated packages should never modify the package.json file. When autostart is enabled, at least with my configuration, I run into situations where reloading the buffer triggers the autostart again and it loops, triggering itself multiple times, so this resolves that.

Closes #90.

vuki656 commented 2 years ago

Good catch. Thanks!