mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
fix: check if repo location exists for local paths
This commit is contained in:
parent
17c275bfff
commit
f3fbc7c9a7
1 changed files with 3 additions and 0 deletions
|
|
@ -330,6 +330,9 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync,
|
||||||
local compile_location
|
local compile_location
|
||||||
if from_local_path then
|
if from_local_path then
|
||||||
compile_location = repo.url
|
compile_location = repo.url
|
||||||
|
if repo.location then
|
||||||
|
compile_location = utils.join_path(compile_location, repo.location)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
local repo_location = project_name
|
local repo_location = project_name
|
||||||
if repo.location then
|
if repo.location then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue