Skip to content

Commit

Permalink
fix: stop luarocks server list from being overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
simifalaye committed Sep 19, 2024
1 parent 7321589 commit f689b45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/rocks/config/internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ local default_config = {
end,
---@return server_url[]
get_all_servers = function()
return vim.list_extend(config.get_servers(), config.get_dev_servers())
local servers = {}
return vim.list_extend(vim.list_extend(servers, config.get_servers()), config.get_dev_servers())
end,
---@param user_rocks table<rock_name, RockSpec>
---@return table<rock_name, RockSpec>
Expand Down

0 comments on commit f689b45

Please sign in to comment.