fix(build): allow build command to override plugin's build and option to disable warning

This commit is contained in:
Folke Lemaitre 2023-06-30 21:19:30 +02:00
parent de0a911ad9
commit 189371c8d8
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 25 additions and 8 deletions

View file

@ -150,6 +150,12 @@ M.defaults = {
skip_if_doc_exists = true,
},
state = vim.fn.stdpath("state") .. "/lazy/state.json", -- state info for checker and other things
build = {
-- Plugins can provide a `build.lua` file that will be executed when the plugin is installed
-- or updated. When the plugin spec also has a `build` command, the plugin's `build.lua` not be
-- executed. In this case, a warning message will be shown.
warn_on_override = true,
},
debug = false,
}