mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(install): pass --show-error to curl
This commit is contained in:
parent
f649c2ff75
commit
804a6473df
1 changed files with 1 additions and 0 deletions
|
|
@ -252,6 +252,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision,
|
|||
opts = {
|
||||
args = {
|
||||
"--silent",
|
||||
"--show-error",
|
||||
"-L", -- follow redirects
|
||||
is_github and url .. "/archive/" .. revision .. ".tar.gz"
|
||||
or url .. "/-/archive/" .. revision .. "/" .. project_name .. "-" .. revision .. ".tar.gz",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue