summaryrefslogtreecommitdiff
path: root/fnl/init.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/init.fnl')
-rw-r--r--fnl/init.fnl8
1 files changed, 5 insertions, 3 deletions
diff --git a/fnl/init.fnl b/fnl/init.fnl
index 362dc78..2e25da9 100644
--- a/fnl/init.fnl
+++ b/fnl/init.fnl
@@ -1,4 +1,6 @@
-;; Install, load settings, and load plugin configs.
-(module init {autoload {: util} require [settings config.packer]})
+;; Load plugins with packer.
+(module init {autoload {: plugins : packer} require [settings config.packer config.autocmd]})
-(util.load-plugins)
+(packer.startup (fn [use]
+ (each [_ plugin (pairs plugins.all)]
+ (use plugin))))