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 buffer error when swtiching from one package.json to another #121

Closed jwickers closed 2 years ago

jwickers commented 2 years ago

Signed-off-by: Jeremy Wickersheimer jwickers@gmail.com

This should fix #74

vuki656 commented 2 years ago

Hey, thanks for the PR. Would you mind opening this to the [ref/reorganize-code](https://github.com/vuki656/package-info.nvim/tree/ref/reorganize-code) branch?

I've rewritten the plugin but never got around to merging it to master.

jwickers commented 2 years ago

It's only one line of code, feel free to copy it or cherry-pick it there if that still works. I would have to test it in that branch.

Is it still WIP though ? else why not make it master at this point?

vuki656 commented 2 years ago

I finished it and then was testing it but never got around to merging it.

I'll merge it this weekend and include your fix in it.

jwickers commented 2 years ago

Nice. Well I update pretty regularly and use your plugin daily as well, so I'll have a look after the merge.

vuki656 commented 2 years ago

Added in https://github.com/vuki656/package-info.nvim/commit/be3a76dd39f6725e419b46e5946bb2a60522f157