diff options
| author | Amaan Qureshi <amaanq12@gmail.com> | 2023-03-16 11:31:20 -0400 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-03-16 19:18:26 +0100 |
| commit | f3fbc7c9a75cbf09cd06cf0518ac244732a27288 (patch) | |
| tree | d612a55e5a3c0ab9486a16ae411020e02b4b1dd4 | |
| parent | feat: add LLVM TableGen (diff) | |
| download | nvim-treesitter-f3fbc7c9a75cbf09cd06cf0518ac244732a27288.tar nvim-treesitter-f3fbc7c9a75cbf09cd06cf0518ac244732a27288.tar.gz nvim-treesitter-f3fbc7c9a75cbf09cd06cf0518ac244732a27288.tar.bz2 nvim-treesitter-f3fbc7c9a75cbf09cd06cf0518ac244732a27288.tar.lz nvim-treesitter-f3fbc7c9a75cbf09cd06cf0518ac244732a27288.tar.xz nvim-treesitter-f3fbc7c9a75cbf09cd06cf0518ac244732a27288.tar.zst nvim-treesitter-f3fbc7c9a75cbf09cd06cf0518ac244732a27288.zip | |
fix: check if repo location exists for local paths
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
