You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We shouldn't need to download layers separately to set up vigor. Maybe something to this effect:
" Given a layer name, download or update the local copy.function!DownloadUpdateLayer(name)
if!isdirectory(g:vigor_home . "/layers/" . a:name)
ifa:name=~ "/"" If the name has a slash, then we'll download the Github repo specified.execute"silent !git clone https://github.com/" . a:name . ".git " . g:vigor_home . "/layers/" . a:nameelse" Otherwise, we're going to treat it like an official layer in the vim-vigor namespace.execute"silent !git clone https://github.com/vim-vigor/" . a:name . ".git " . g:vigor_home . "/layers/" . a:nameendifelseif!exists("no_vigor_autoupdate")
execute"silent !git pull -C " . g:vigor_home . "/layers/" . a:nameendifendifendfunction
And then iterate over g:layers in the bootstrap function. Not sure what implications this has for plugin installation.
The text was updated successfully, but these errors were encountered:
We shouldn't need to download layers separately to set up vigor. Maybe something to this effect:
And then iterate over g:layers in the bootstrap function. Not sure what implications this has for plugin installation.
The text was updated successfully, but these errors were encountered: