mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
Fix: fallback git-installation (list of commands is expected)
This commit is contained in:
parent
97d5329d9f
commit
9f5237b6c5
1 changed files with 15 additions and 13 deletions
|
|
@ -224,6 +224,7 @@ local function select_download_commands(repo, project_name, cache_folder, revisi
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return {
|
return {
|
||||||
|
{
|
||||||
cmd = 'git',
|
cmd = 'git',
|
||||||
info = 'Downloading...',
|
info = 'Downloading...',
|
||||||
err = 'Error during download, please verify your internet connection',
|
err = 'Error during download, please verify your internet connection',
|
||||||
|
|
@ -239,6 +240,7 @@ local function select_download_commands(repo, project_name, cache_folder, revisi
|
||||||
cwd = cache_folder,
|
cwd = cache_folder,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue