Skip to content

Commit

Permalink
feat: use the neorocks manifest as a fallback server
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Mar 2, 2024
1 parent 02cee3e commit 7e9cf5d
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 @@ -62,6 +62,7 @@ luarocks.cli = function(args, on_exit, opts)
"--lua-version=" .. constants.LUA_VERSION,
"--tree=" .. config.rocks_path,
"--server='https://nvim-neorocks.github.io/rocks-binaries/'",
"--server='https://luarocks.org/manifests/neorocks'",
}, args)
log.info(luarocks_cmd)
return vim.system(luarocks_cmd, opts, on_exit_wrapped)
Expand Down

0 comments on commit 7e9cf5d

Please sign in to comment.