mirror of https://github.com/folke/lazy.nvim.git
fix(build): allow build=false to skip building
This commit is contained in:
parent
16603c6917
commit
314193af1d
|
@ -30,6 +30,11 @@ M.build = {
|
||||||
|
|
||||||
local builders = self.plugin.build
|
local builders = self.plugin.build
|
||||||
|
|
||||||
|
-- Skip if `build` is set to `false`
|
||||||
|
if builders == false then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local build_file = get_build_file(self.plugin)
|
local build_file = get_build_file(self.plugin)
|
||||||
if build_file then
|
if build_file then
|
||||||
if builders then
|
if builders then
|
||||||
|
|
Loading…
Reference in New Issue