wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.82k stars 266 forks source link

Documentation for the "version" key's accepted values #1003

Open macintacos opened 2 years ago

macintacos commented 2 years ago

Describe the feature

I've been trying to understand what the full list of values are accepted by packer for the version key, but I can't seem to find any explanation for it. I only see examples in the README and docs specifying some semver value like "2.1.0", however it's not clear if it accepts other values like "~2.1"/"^2.1"/""/""/etc.

I'm trying to be more conscious about what versions I am allowing in my configuration, so having this documented would be very much appreciated. Thanks!