Disable auto install and uninstalled plugins notify. #1421
-
I have set opts.install.missing = false for require('lazy').setup().
How to disable plugin auto install and without the error message. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The error happens because Lazy finds a spec for the plugin and it notifies you it's not installed. |
Beta Was this translation helpful? Give feedback.
-
You can monkey patch the function, e.g. local Util = require("lazy.core.util")
function Util.error(msg, opts)
opts = opts or {}
opts.level = vim.log.levels.ERROR
if string.find(msg, "installed") then
return
end
Util.notify(msg, opts)
end |
Beta Was this translation helpful? Give feedback.
You can monkey patch the function, e.g.