aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Cuducos <cuducos@users.noreply.github.com>2021-08-24 16:35:38 -0400
committerThomas Vigouroux <tomvig38@gmail.com>2021-08-25 09:24:08 +0200
commita76dbe73357606aac79c3792b844b6a5ade84abb (patch)
treefb5566a0d7ce203d5d486f394b6d3c262a9a3a3e
parentfix(dowload): don't display curl progress (diff)
downloadnvim-treesitter-a76dbe73357606aac79c3792b844b6a5ade84abb.tar
nvim-treesitter-a76dbe73357606aac79c3792b844b6a5ade84abb.tar.gz
nvim-treesitter-a76dbe73357606aac79c3792b844b6a5ade84abb.tar.bz2
nvim-treesitter-a76dbe73357606aac79c3792b844b6a5ade84abb.tar.lz
nvim-treesitter-a76dbe73357606aac79c3792b844b6a5ade84abb.tar.xz
nvim-treesitter-a76dbe73357606aac79c3792b844b6a5ade84abb.tar.zst
nvim-treesitter-a76dbe73357606aac79c3792b844b6a5ade84abb.zip
Replaces curl argument: --no-progress-meter -> --silent
Fix #1748
-rw-r--r--lua/nvim-treesitter/shell_command_selectors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua
index 83b2dacff..fe7273962 100644
--- a/lua/nvim-treesitter/shell_command_selectors.lua
+++ b/lua/nvim-treesitter/shell_command_selectors.lua
@@ -142,7 +142,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
err = "Error during download, please verify your internet connection",
opts = {
args = {
- "--no-progress-meter",
+ "--silent",
"-L", -- follow redirects
is_github and url .. "/archive/" .. revision .. ".tar.gz"
or url .. "/-/archive/" .. revision .. "/" .. project_name .. "-" .. revision .. ".tar.gz",