junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
33.7k stars 1.9k forks source link

Add a command to return vim-plug version #1266

Closed ridhwaans closed 4 months ago

ridhwaans commented 5 months ago

should reflect current installed version i.e. 0.11.0 from https://github.com/junegunn/vim-plug/releases Can it get the version without entering vim? (not plugin version)

junegunn commented 4 months ago

vim-plug was designed to be distributed as a single file and it doesn't have a version number in it, so it's not currently possible.

If we really want to do it, we have to add a variable to the file and make sure to manually update it, but I'm not sure if it's worth it.