Skip to content

Commit

Permalink
fix(install): add newly installed opt plugins to the rtp
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jul 8, 2024
1 parent 2cce26d commit 54a5cfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/rocks/operations/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ helpers.install = nio.create(function(rock_spec, progress_handle)
if config.dynamic_rtp and not rock_spec.opt then
nio.scheduler()
runtime.packadd(name)
else
-- Add rock to the rtp, but don't source any scripts
runtime.packadd(name, { bang = true })
end
future.set(installed_rock)
end)
Expand Down

0 comments on commit 54a5cfd

Please sign in to comment.