mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
deps_of_all_optional: forgot return type
This commit is contained in:
parent
bba49c5ae4
commit
d3caec9723
1 changed files with 2 additions and 1 deletions
|
@ -184,6 +184,7 @@ function Spec:fix_cond()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@return string[]
|
||||||
function Spec:fix_optional()
|
function Spec:fix_optional()
|
||||||
local all_optional_deps = {}
|
local all_optional_deps = {}
|
||||||
if not self.optional then
|
if not self.optional then
|
||||||
|
@ -219,7 +220,7 @@ function Spec:fix_disabled()
|
||||||
---@type string[] dependencies of disabled plugins
|
---@type string[] dependencies of disabled plugins
|
||||||
local disabled_deps = {}
|
local disabled_deps = {}
|
||||||
|
|
||||||
---@type string[] dependencies of plugins that are all optional
|
---@type string[] dependencies of plugins that are completely optional
|
||||||
local all_optional_deps = self:fix_optional()
|
local all_optional_deps = self:fix_optional()
|
||||||
self:fix_cond()
|
self:fix_cond()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue