From 804a6473df62196709f5f1552c9c9f20fcdd7bb8 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 17 Jul 2024 16:33:10 +0200 Subject: fix(install): pass `--show-error` to curl --- lua/nvim-treesitter/shell_command_selectors.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index f1d557a74..9622f5801 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -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", -- cgit v1.2.3-70-g09d2