From 1eff49e1fb24630eb61f6ba0cf90702f90f2f73d Mon Sep 17 00:00:00 2001
From: Gustaf Rydholm <gustaf.rydholm@gmail.com>
Date: Tue, 11 Oct 2022 00:17:20 +0200
Subject: Refactor synchronized

---
 fnl/util.fnl | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'fnl')

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]
-- 
cgit v1.2.3-70-g09d2