mirror of https://github.com/folke/lazy.nvim.git
fix: dev plugins with dev=false should be configured as remote
This commit is contained in:
parent
f52cf32f96
commit
43b303bd8f
|
@ -92,7 +92,7 @@ function Spec:add(plugin, is_dep)
|
||||||
|
|
||||||
-- check for plugins that should be local
|
-- check for plugins that should be local
|
||||||
for _, pattern in ipairs(Config.options.dev.patterns) do
|
for _, pattern in ipairs(Config.options.dev.patterns) do
|
||||||
if plugin.dev or plugin[1]:find(pattern, 1, true) then
|
if plugin.dev or (plugin[1]:find(pattern, 1, true) and plugin.dev ~= false) then
|
||||||
plugin.uri = Config.options.dev.path .. "/" .. plugin.name
|
plugin.uri = Config.options.dev.path .. "/" .. plugin.name
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue