diff options
| author | Daniel Bendel <d.bendel@pso-vertrieb.de> | 2021-04-15 09:19:08 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-04-15 16:56:49 +0200 |
| commit | 5ff8535bb4854568bab12d08c4f4f6c3855863c4 (patch) | |
| tree | 0eacab14a8c5e6673ff898848b58f2ca11da4c3c | |
| parent | 50aa9883275486abfe93c716c754d9e70fa527f3 (diff) | |
fix undefined variable
| -rw-r--r-- | lua/nvim-treesitter/shell_command_selectors.lua | 2 |
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 1d503603..d3a12997 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -141,7 +141,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision) opts = { args = { '-L', -- follow redirects - is_github and url.."/archive/"..revision..".tar.gz" + is_github_or_gitlab and url.."/archive/"..revision..".tar.gz" or url.."/-/archive/"..revision.."/"..project_name.."-"..revision..".tar.gz", '--output', project_name..".tar.gz" |
