Skip to content

Commit

Permalink
fix(install): don't packadd if installed rockspec is opt
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Mar 13, 2024
1 parent 141e5f8 commit 217ef32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rocks/operations/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ helpers.install = function(rock_spec, progress_handle)
progress_handle:report({ message = message })
end

if config.dynamic_rtp and rock_spec.opt then
if config.dynamic_rtp and not rock_spec.opt then
runtime.packadd(name)
adapter.init_tree_sitter_parser_symlinks()
end
Expand Down

0 comments on commit 217ef32

Please sign in to comment.