mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
fix undefined variable
This commit is contained in:
parent
50aa988327
commit
5ff8535bb4
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
|
||||||
opts = {
|
opts = {
|
||||||
args = {
|
args = {
|
||||||
'-L', -- follow redirects
|
'-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",
|
or url.."/-/archive/"..revision.."/"..project_name.."-"..revision..".tar.gz",
|
||||||
'--output',
|
'--output',
|
||||||
project_name..".tar.gz"
|
project_name..".tar.gz"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue