Skip to content

Commit

Permalink
refactor: add binary rocks server to all luarocks operations
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Nov 27, 2023
1 parent 85db318 commit 0b1e173
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/rocks/luarocks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ luarocks.cli = function(args, on_exit, opts)
"luarocks",
"--lua-version=" .. constants.LUA_VERSION,
"--tree=" .. config.rocks_path,
"--server='https://nvim-neorocks.github.io/rocks-binaries/'",
}, args)
return vim.system(luarocks_cmd, opts, on_exit and vim.schedule_wrap(on_exit))
end
Expand Down

0 comments on commit 0b1e173

Please sign in to comment.