aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-08-23 09:20:46 +0200
committerStephan Seitz <stephan.seitz@fau.de>2021-09-17 21:06:36 +0200
commit247c7c93d657f4713121249d8b59503fc9212965 (patch)
treeae418751016b8cb0b8e9b8e596e69711a84cebac
parenthighlight(zig) highlight all caps is a constant (diff)
downloadnvim-treesitter-247c7c93d657f4713121249d8b59503fc9212965.tar
nvim-treesitter-247c7c93d657f4713121249d8b59503fc9212965.tar.gz
nvim-treesitter-247c7c93d657f4713121249d8b59503fc9212965.tar.bz2
nvim-treesitter-247c7c93d657f4713121249d8b59503fc9212965.tar.lz
nvim-treesitter-247c7c93d657f4713121249d8b59503fc9212965.tar.xz
nvim-treesitter-247c7c93d657f4713121249d8b59503fc9212965.tar.zst
nvim-treesitter-247c7c93d657f4713121249d8b59503fc9212965.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",