diff options
Diffstat (limited to 'fnl/init.fnl')
-rw-r--r-- | fnl/init.fnl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fnl/init.fnl b/fnl/init.fnl index d28a351..76c3de9 100644 --- a/fnl/init.fnl +++ b/fnl/init.fnl @@ -1,8 +1,7 @@ ;; Load plugins with packer. (module init - {autoload {: plugins : packer} - require [settings config.autocmd config.cmd config.packer]}) + {autoload {: plugins } + require [settings config.autocmd config.cmd]}) -(packer.startup (fn [use] - (each [_ plugin (pairs plugins.all)] - (use plugin)))) +(let [lazy (require :lazy)] + (lazy.setup plugins.all)) |