summaryrefslogtreecommitdiff
path: root/fnl/util.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-10-11 09:04:28 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-10-11 09:04:28 +0200
commit8137459a0a2b3c049ab4586acd1d1cd35e6b4c0e (patch)
treef2da6e47f3cdcc41deb127f570bdf5b1360267e7 /fnl/util.fnl
parentd01b8e0db9bb355c3dbbd22dc47beadbea660690 (diff)
parent69483c9b53e8d14e7c4398380ac64b2ea8c27887 (diff)
Merge branch 'master' of github.com:aktersnurra/nvim
Diffstat (limited to 'fnl/util.fnl')
-rw-r--r--fnl/util.fnl4
1 files changed, 1 insertions, 3 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl
index a80f0eb..88ec1c3 100644
--- a/fnl/util.fnl
+++ b/fnl/util.fnl
@@ -18,9 +18,7 @@
(defn- deep-equal [xs ys] (and (contains xs ys) (contains ys xs)))
-(defn- synchronized [configured installed]
- (and (= (vim.tbl_count configured) (vim.tbl_count installed))
- (deep-equal configured installed)))
+(defn- synchronized [configured installed] (deep-equal configured installed))
(defn- install []
(packer.startup (fn [use]