Skip to content

Commit

Permalink
fix(build): make sure rplugin.vim is loaded when doing a build. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 13, 2023
1 parent 0d0d587 commit 666ed7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/lazy/manage/task/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ M.build = {
return not (plugin._.dirty and plugin.build)
end,
run = function(self)
vim.cmd([[silent! runtime plugin/rplugin.vim]])

Loader.load(self.plugin, { task = "build" })

local builders = self.plugin.build
Expand Down

0 comments on commit 666ed7b

Please sign in to comment.