mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
fix: dev plugins with dev=false should be configured as remote
This commit is contained in:
parent
f52cf32f96
commit
43b303bd8f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue