lazy.nvim icon indicating copy to clipboard operation
lazy.nvim copied to clipboard

feature: Manage plugin version.

Open hoofcushion opened this issue 1 year ago • 2 comments

Did you check the docs?

  • [X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.

lazy.nvim can not hold different version for one plugin.

Describe the solution you'd like

Save different version into different location, e.g: latest, stable, 11.14.1.

Describe alternatives you've considered

pass

Additional context

image

For now, lazy.nvim need to change name for plugin with different version. Otherwise, it will update or rollback it.

hoofcushion avatar Aug 05 '24 10:08 hoofcushion

I don't know but I imagine there must already be something in that direction for the luarocks implementation

otherwise that would defy the whole purpose of using a rockspec

max397574 avatar Aug 05 '24 11:08 max397574

Yes, versioning is necessary.

hoofcushion avatar Aug 05 '24 12:08 hoofcushion

That's pretty much impossible to achieve, even with how the luarocks version loader works (which is not used in lazy btw)

folke avatar Aug 31 '24 07:08 folke