remove unnecessary log, and add a TODO for local plugins
This commit is contained in:
@ -1,5 +1,13 @@
|
||||
local logger = require('dep.log')
|
||||
|
||||
-- TODO: allow specificying a path to use instead of cloning
|
||||
-- like so: @field path string? path to override other url
|
||||
-- I might have to deal with removing dead links and what not
|
||||
--
|
||||
-- I think it would be best to link the desired directory to the
|
||||
-- neovim package directory, but idk if that will be easy enough
|
||||
-- we'll see
|
||||
|
||||
---@class spec
|
||||
---@field [1] string id
|
||||
---@field setup function? code to run before the package is loaded
|
||||
@ -472,8 +480,6 @@ function package:loadtree(force)
|
||||
if not self.lazy then
|
||||
for _, requirement in pairs(self.requirements) do
|
||||
if not requirement.loaded and not requirement.lazy then
|
||||
logger:log("error", "failed to load %s; requirement: %s isn't loaded",
|
||||
self.id, requirement.id)
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user