diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 23:56:08 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 23:56:08 +0200 |
commit | d135c0f65a7f0703dd3428e8629396f4e2710ec7 (patch) | |
tree | 7b791307b1c5e75d04b0eb372c4abd118d2c5b57 /fnl/init.fnl | |
parent | 95944c1bde19418e9b8aa1c91622067945c7b1ea (diff) |
fix(load config): pre compute num plugins
Diffstat (limited to 'fnl/init.fnl')
-rw-r--r-- | fnl/init.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/init.fnl b/fnl/init.fnl index 567214f..4862b16 100644 --- a/fnl/init.fnl +++ b/fnl/init.fnl @@ -1,6 +1,6 @@ ;; Install, load settings, and load plugin configs. -(module init) +(module init {autoload {util util}}) (require :settings) (require :install) -(if (> (length (vim.fn.readdir path)) 3) +(if (> util.num-plugins 3) (require :config)) |