Run UpdateRemotePlugins after auto-installing plug

This commit is contained in:
ItsDrike 2021-12-03 14:41:16 +01:00
parent 16e9c61abd
commit cc7c8db10b
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -16,6 +16,7 @@ if fn.empty(fn.glob(plug_install_path)) > 0 then
fn.system({"mkdir", "-p", autoload_dir}) fn.system({"mkdir", "-p", autoload_dir})
fn.system("curl " .. plug_download_url .. " > " .. plug_install_path) fn.system("curl " .. plug_download_url .. " > " .. plug_install_path)
cmd[[autocmd VimEnter * PlugInstall]] cmd[[autocmd VimEnter * PlugInstall]]
cmd[[autocmd VimEnter * UpdateRemotePlugins]]
end end
-- Load an arbitrary .vim or .lua file -- Load an arbitrary .vim or .lua file