savq / paq-nvim

🌚 Neovim package manager
MIT License
653 stars 39 forks source link

[Feature Request] Support for tagging certain versions #144

Closed DanielKohn1208 closed 1 year ago

DanielKohn1208 commented 1 year ago

Describe the bug

Will tagging specific versions of plugins be added? This is a feature that several plugins recomend having when installing them. Like luasnip, toggleterm, etc.

savq commented 1 year ago

You can pass a tag to git clone --branch, so the branch argument in Paq can also take a tag.

For example, if you want to list Luasnip with the tag v2.0.0 you'd write:

require 'paq' {
    { 'L3MON4D3/LuaSnip', branch = 'v2.0.0' },
}