aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-07-17 16:33:10 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-07-17 16:42:26 +0200
commit804a6473df62196709f5f1552c9c9f20fcdd7bb8 (patch)
treef4725aedef240c3837e58d501807095cf76f5b08 /lua
parentfix(php): correct line endings (diff)
downloadnvim-treesitter-804a6473df62196709f5f1552c9c9f20fcdd7bb8.tar
nvim-treesitter-804a6473df62196709f5f1552c9c9f20fcdd7bb8.tar.gz
nvim-treesitter-804a6473df62196709f5f1552c9c9f20fcdd7bb8.tar.bz2
nvim-treesitter-804a6473df62196709f5f1552c9c9f20fcdd7bb8.tar.lz
nvim-treesitter-804a6473df62196709f5f1552c9c9f20fcdd7bb8.tar.xz
nvim-treesitter-804a6473df62196709f5f1552c9c9f20fcdd7bb8.tar.zst
nvim-treesitter-804a6473df62196709f5f1552c9c9f20fcdd7bb8.zip
fix(install): pass `--show-error` to curl
Diffstat (limited to 'lua')
-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 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",