Fix sync not completing when some packages are disabled, and make readme pretty
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
# dep
|
# dep
|
||||||
|
|
||||||
|
[](License)
|
||||||
|
[][4]
|
||||||
|
[][8]
|
||||||
|
[][9]
|
||||||
|
|
||||||
> This readme is a work in progress.
|
> This readme is a work in progress.
|
||||||
|
|
||||||
A versatile, declarative and correct [neovim][2] package manager in [lua][3].
|
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/
|
[5]: https://git-scm.com/
|
||||||
[6]: https://github.com/nvim-telescope/telescope.nvim
|
[6]: https://github.com/nvim-telescope/telescope.nvim
|
||||||
[7]: https://github.com/tpope/vim-fugitive
|
[7]: https://github.com/tpope/vim-fugitive
|
||||||
|
[8]: https://GitHub.com/chiyadev/dep/issues
|
||||||
|
[9]: https://github.com/chiyadev/dep/graphs/contributors
|
||||||
|
@ -470,11 +470,13 @@ end
|
|||||||
|
|
||||||
local function sync(package, cb)
|
local function sync(package, cb)
|
||||||
if not package.enabled then
|
if not package.enabled then
|
||||||
|
cb()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if package.exists then
|
if package.exists then
|
||||||
if package.pin then
|
if package.pin then
|
||||||
|
cb()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user