mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
fix(build): allow build=false to skip building
This commit is contained in:
parent
16603c6917
commit
314193af1d
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue