mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
fix(build): make sure rplugin.vim
is loaded when doing a build. Fixes #382
This commit is contained in:
parent
0d0d5870a3
commit
666ed7bf73
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue