diff options
Diffstat (limited to 'fnl/install.fnl')
-rw-r--r-- | fnl/install.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl index f6b4501..50fbe24 100644 --- a/fnl/install.fnl +++ b/fnl/install.fnl @@ -2,7 +2,8 @@ (module install {autoload {a aniseed.core plugins plugins packer packer - bootstrap bootstrap}}) + bootstrap bootstrap + util util}}) (defn- install-plugins [plgs] (packer.startup (fn [use] @@ -10,6 +11,5 @@ (use (a.assoc opts 1 plugin)))))) (install-plugins plugins.plugins) -(local path (.. (vim.fn.stdpath :data) :/site/pack/packer/start)) -(if (= (length (vim.fn.readdir path)) 3) +(if (= util.num-plugins 3) (packer.sync)) |