mirror of https://github.com/folke/lazy.nvim.git
fix(checker): ignore dev plugins (#1384)
This commit is contained in:
parent
05240b4154
commit
2e04a0c02c
|
@ -35,7 +35,7 @@ end
|
||||||
function M.fast_check(opts)
|
function M.fast_check(opts)
|
||||||
opts = opts or {}
|
opts = opts or {}
|
||||||
for _, plugin in pairs(Config.plugins) do
|
for _, plugin in pairs(Config.plugins) do
|
||||||
if not plugin.pin and plugin._.installed then
|
if not plugin.pin and not plugin.dev and plugin._.installed then
|
||||||
plugin._.updates = nil
|
plugin._.updates = nil
|
||||||
local info = Git.info(plugin.dir)
|
local info = Git.info(plugin.dir)
|
||||||
local ok, target = pcall(Git.get_target, plugin)
|
local ok, target = pcall(Git.get_target, plugin)
|
||||||
|
|
Loading…
Reference in New Issue