mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +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
|
||||
-- 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
|
||||
else
|
||||
-- remote plugin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue