diff options
-rw-r--r-- | fnl/util.fnl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl index d1b3665..ba859df 100644 --- a/fnl/util.fnl +++ b/fnl/util.fnl @@ -20,9 +20,8 @@ (defn load-plugins [] (install) (let [num-installed-plugins (num-installed-plugins) num-plugins (num-plugins)] - (if (= num-installed-plugins num-plugins) - (require :config) - (packer.sync)))) + (if (not= num-installed-plugins num-plugins) + (packer.sync))) (require :config)) (defn load-plugin [name] (let [(ok? val-or-err) (pcall require name)] |