From f3fbc7c9a75cbf09cd06cf0518ac244732a27288 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Thu, 16 Mar 2023 11:31:20 -0400 Subject: fix: check if repo location exists for local paths --- lua/nvim-treesitter/install.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 37f32fe53..3ea23ee86 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -330,6 +330,9 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync, local compile_location if from_local_path then compile_location = repo.url + if repo.location then + compile_location = utils.join_path(compile_location, repo.location) + end else local repo_location = project_name if repo.location then -- cgit v1.2.3-70-g09d2