From 86cfff221bd1d70d1b8e6860b3078b159b995c18 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sat, 30 Apr 2022 18:06:40 +0200 Subject: refactor(install): mv install to util module --- fnl/install.fnl | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 fnl/install.fnl (limited to 'fnl/install.fnl') diff --git a/fnl/install.fnl b/fnl/install.fnl deleted file mode 100644 index 6f37ae8..0000000 --- a/fnl/install.fnl +++ /dev/null @@ -1,18 +0,0 @@ -;; Installs plugins with packer. -(module install - {autoload {a aniseed.core - packer packer - plugins plugins - util util}}) - -(defn- sync [] - (if (= util.num-plugins 3) - (packer.sync))) - -(defn- install [] - (packer.startup (fn [use] - (each [plugin opts (pairs plugins.plugins)] - (use (a.assoc opts 1 plugin)))))) - -(install) -(sync) -- cgit v1.2.3-70-g09d2