mirror of https://github.com/folke/lazy.nvim.git
fix(build): make sure `rplugin.vim` is loaded when doing a build. Fixes #382
This commit is contained in:
parent
0d0d5870a3
commit
666ed7bf73
|
@ -13,6 +13,8 @@ M.build = {
|
||||||
return not (plugin._.dirty and plugin.build)
|
return not (plugin._.dirty and plugin.build)
|
||||||
end,
|
end,
|
||||||
run = function(self)
|
run = function(self)
|
||||||
|
vim.cmd([[silent! runtime plugin/rplugin.vim]])
|
||||||
|
|
||||||
Loader.load(self.plugin, { task = "build" })
|
Loader.load(self.plugin, { task = "build" })
|
||||||
|
|
||||||
local builders = self.plugin.build
|
local builders = self.plugin.build
|
||||||
|
|
Loading…
Reference in New Issue