summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/install.fnl')
-rw-r--r--fnl/install.fnl4
1 files changed, 3 insertions, 1 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl
index f6d741f..faa91e6 100644
--- a/fnl/install.fnl
+++ b/fnl/install.fnl
@@ -7,6 +7,8 @@
(defn- install-plugins [plgs]
(packer.startup (fn [use]
(each [plugin opts (pairs plgs)]
- (use (a.assoc opts 1 plugin))))))
+ (use (a.assoc opts 1 plugin)))))
+ (if vim.env.BOOTSTRAPPED
+ (packer.sync)))
(install-plugins plugins.plugins)