aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphosphene47 <phosphene47@chiya.dev>2021-12-12 20:06:44 +1100
committerphosphene47 <phosphene47@chiya.dev>2021-12-12 20:06:44 +1100
commit63be58d87d1141db8e0e4465585b8f6b56f5b9c1 (patch)
tree8b000f02dc5bc7edaac6ee7cf6e68429687c214a
parent6bcdc965529073927d6de0fc48b65200af0a189c (diff)
downloaddep-63be58d87d1141db8e0e4465585b8f6b56f5b9c1.tar.gz
dep-63be58d87d1141db8e0e4465585b8f6b56f5b9c1.tar.bz2
dep-63be58d87d1141db8e0e4465585b8f6b56f5b9c1.zip
Fix sync not completing when some packages are disabled, and make readme pretty
Diffstat (limited to '')
-rw-r--r--README.md7
-rwxr-xr-xlua/dep.lua2
2 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 55fe88f..967283e 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,10 @@
# dep
+[![License](https://img.shields.io/github/license/chiyadev/dep)](License)
+[![Maintainer](https://img.shields.io/badge/maintainer-phosphene47-pink)][4]
+[![Issues](https://img.shields.io/github/issues/chiyadev/dep.svg)][8]
+[![Contributors](https://img.shields.io/github/contributors/chiyadev/dep.svg)][9]
+
> This readme is a work in progress.
A versatile, declarative and correct [neovim][2] package manager in [lua][3].
@@ -409,3 +414,5 @@ dep is licensed under the [MIT License](LICENSE).
[5]: https://git-scm.com/
[6]: https://github.com/nvim-telescope/telescope.nvim
[7]: https://github.com/tpope/vim-fugitive
+[8]: https://GitHub.com/chiyadev/dep/issues
+[9]: https://github.com/chiyadev/dep/graphs/contributors
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