diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-21 00:38:05 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-21 00:38:05 +0100 |
commit | ff83f6d332c93c6f5124dfd7ba08bcebab2099e3 (patch) | |
tree | 13fdb3e7036a5df414a453d0840d1a6689f603d0 /fnl/init.fnl | |
parent | 3a04ae4dff27c859f223885109ae7dfa581d56cc (diff) |
Replace packer with lazy
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)) |