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
|
||||
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
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue