mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
A few fixes
This commit is contained in:
parent
38d34ad493
commit
f0f162d041
1 changed files with 1 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ local function select_install_rm_cmd(cache_folder, project_name)
|
||||||
return {
|
return {
|
||||||
cmd = 'rm',
|
cmd = 'rm',
|
||||||
opts = {
|
opts = {
|
||||||
args = { 'rf', cache_folder..'/'..project_name },
|
args = { '-rf', cache_folder..'/'..project_name },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
@ -134,7 +134,6 @@ local function run_install(cache_folder, package_path, lang, repo, with_sync)
|
||||||
end
|
end
|
||||||
|
|
||||||
local project_name = 'tree-sitter-'..lang
|
local project_name = 'tree-sitter-'..lang
|
||||||
local project_repo = cache_folder..path_sep..project_name
|
|
||||||
-- compile_location only needed for typescript installs.
|
-- compile_location only needed for typescript installs.
|
||||||
local compile_location = cache_folder..path_sep..(repo.location or project_name)
|
local compile_location = cache_folder..path_sep..(repo.location or project_name)
|
||||||
local parser_lib_name = package_path..path_sep.."parser"..path_sep..lang..".so"
|
local parser_lib_name = package_path..path_sep.."parser"..path_sep..lang..".so"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue