diff options
author | phosphene47 <phosphene47@chiya.dev> | 2021-12-12 20:06:44 +1100 |
---|---|---|
committer | phosphene47 <phosphene47@chiya.dev> | 2021-12-12 20:06:44 +1100 |
commit | 63be58d87d1141db8e0e4465585b8f6b56f5b9c1 (patch) | |
tree | 8b000f02dc5bc7edaac6ee7cf6e68429687c214a | |
parent | 6bcdc965529073927d6de0fc48b65200af0a189c (diff) | |
download | dep-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.md | 7 | ||||
-rwxr-xr-x | lua/dep.lua | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,10 @@ # dep +[](License) +[][4] +[][8] +[][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 |