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, 3 insertions, 5 deletions
diff --git a/fnl/init.fnl b/fnl/init.fnl
index 76c3de9..03005d7 100644
--- a/fnl/init.fnl
+++ b/fnl/init.fnl
@@ -1,7 +1,5 @@
;; Load plugins with packer.
-(module init
- {autoload {: plugins }
- require [settings config.autocmd config.cmd]})
+(module init {require [settings config.autocmd config.cmd]})
-(let [lazy (require :lazy)]
- (lazy.setup plugins.all))
+(let [lazy (require :lazy) plugins (require :plugins)]
+ (lazy.setup plugins))