From 1c3138b11d5235a55268dc5b45eec8e4951d28e7 Mon Sep 17 00:00:00 2001 From: Matt Leong Date: Mon, 25 Oct 2021 16:47:09 -0700 Subject: [PATCH] fix(plugins): packer sync on first install --- lua/cosmic/pluginsInit.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/cosmic/pluginsInit.lua b/lua/cosmic/pluginsInit.lua index 1ae2fbb..ba34f08 100644 --- a/lua/cosmic/pluginsInit.lua +++ b/lua/cosmic/pluginsInit.lua @@ -201,4 +201,8 @@ return packer.startup(function() use(plugin) end end + + if cosmic_packer.first_install then + packer.sync() + end end)