mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
fix: only use dev url if plugin exists
This commit is contained in:
parent
94d012511d
commit
bbc17cb3b0
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ function Spec:add(plugin, is_dep)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- dev plugins
|
-- dev plugins
|
||||||
if plugin.dev then
|
if plugin.dev and vim.loop.fs_stat(Config.options.dev.path .. "/" .. plugin.name) then
|
||||||
plugin.dir = Config.options.dev.path .. "/" .. plugin.name
|
plugin.dir = Config.options.dev.path .. "/" .. plugin.name
|
||||||
else
|
else
|
||||||
-- remote plugin
|
-- remote plugin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue