aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-08-23 09:20:46 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2021-08-24 17:41:01 +0200
commitac9f7a2d5aefa9220b4567cc4db2048d1cf142f0 (patch)
treeae418751016b8cb0b8e9b8e596e69711a84cebac
parenthighlight(zig) highlight all caps is a constant (diff)
downloadnvim-treesitter-ac9f7a2d5aefa9220b4567cc4db2048d1cf142f0.tar
nvim-treesitter-ac9f7a2d5aefa9220b4567cc4db2048d1cf142f0.tar.gz
nvim-treesitter-ac9f7a2d5aefa9220b4567cc4db2048d1cf142f0.tar.bz2
nvim-treesitter-ac9f7a2d5aefa9220b4567cc4db2048d1cf142f0.tar.lz
nvim-treesitter-ac9f7a2d5aefa9220b4567cc4db2048d1cf142f0.tar.xz
nvim-treesitter-ac9f7a2d5aefa9220b4567cc4db2048d1cf142f0.tar.zst
nvim-treesitter-ac9f7a2d5aefa9220b4567cc4db2048d1cf142f0.zip
fix(dowload): don't display curl progress
Fixes #1731
-rw-r--r--lua/nvim-treesitter/shell_command_selectors.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua
index 83a07792f..83b2dacff 100644
--- a/lua/nvim-treesitter/shell_command_selectors.lua
+++ b/lua/nvim-treesitter/shell_command_selectors.lua
@@ -142,6 +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",
"-L", -- follow redirects
is_github and url .. "/archive/" .. revision .. ".tar.gz"
or url .. "/-/archive/" .. revision .. "/" .. project_name .. "-" .. revision .. ".tar.gz",