summaryrefslogtreecommitdiff
path: root/fnl/init.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-21 00:51:46 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-21 00:51:46 +0100
commitb07a3d6992f7acc1aa58df12468bc7cbadee54df (patch)
tree121777149363b22a4d5ccd28a2c07be96818b7c2 /fnl/init.fnl
parentff83f6d332c93c6f5124dfd7ba08bcebab2099e3 (diff)
Update plugin table and loading
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))