mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
feat: fallback to git when local plugin isn't found
This commit is contained in:
parent
809d67fcf0
commit
e5845d0d60
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ function Spec:add(plugin, results, is_dep)
|
|||
end
|
||||
end
|
||||
-- dev plugins
|
||||
if plugin.dev then
|
||||
if plugin.dev and vim.fn.isdirectory(Config.options.dev.path .. "/" .. plugin.name) == 1 then
|
||||
plugin.dir = Config.options.dev.path .. "/" .. plugin.name
|
||||
else
|
||||
-- remote plugin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue