From 63be58d87d1141db8e0e4465585b8f6b56f5b9c1 Mon Sep 17 00:00:00 2001 From: phosphene47 Date: Sun, 12 Dec 2021 20:06:44 +1100 Subject: Fix sync not completing when some packages are disabled, and make readme pretty --- lua/dep.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua') diff --git a/lua/dep.lua b/lua/dep.lua index 62a77da..ca179c5 100755 --- a/lua/dep.lua +++ b/lua/dep.lua @@ -470,11 +470,13 @@ end local function sync(package, cb) if not package.enabled then + cb() return end if package.exists then if package.pin then + cb() return end -- cgit v1.2.1