aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorLaurence Tratt <laurie@tratt.net>2021-07-19 20:28:40 +0100
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-19 21:51:33 +0200
commit37a220526d76b256c673d0de451eb88b8e3f398a (patch)
tree534369c861f0485854b61ffe174addcc3c6cdbd1 /lua
parentAdd `-z` switch to tar. (diff)
downloadnvim-treesitter-37a220526d76b256c673d0de451eb88b8e3f398a.tar
nvim-treesitter-37a220526d76b256c673d0de451eb88b8e3f398a.tar.gz
nvim-treesitter-37a220526d76b256c673d0de451eb88b8e3f398a.tar.bz2
nvim-treesitter-37a220526d76b256c673d0de451eb88b8e3f398a.tar.lz
nvim-treesitter-37a220526d76b256c673d0de451eb88b8e3f398a.tar.xz
nvim-treesitter-37a220526d76b256c673d0de451eb88b8e3f398a.tar.zst
nvim-treesitter-37a220526d76b256c673d0de451eb88b8e3f398a.zip
"-z" needs to come before "-f".
Diffstat (limited to 'lua')
-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 d2a603c83..83a07792f 100644
--- a/lua/nvim-treesitter/shell_command_selectors.lua
+++ b/lua/nvim-treesitter/shell_command_selectors.lua
@@ -158,7 +158,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
err = "Error during tarball extraction.",
opts = {
args = {
- "-xvfz",
+ "-xvzf",
project_name .. ".tar.gz",
"-C",
project_name .. "-tmp",