I have this user defined command:
command! PS silent! w | PlugSnapshot! ~/.vim/plugins/plugins.lock
How could I change it to take the filepath from a variable, something like this:
let PathToPluginsFolder = ~/.vim/pluginscommand! PS silent! w | PlugSnapshot! %%%PathToPluginsFolder%%%/plugins.lock