diff options
| author | Rasmus Michelsen <RMichelsen@protonmail.com> | 2020-09-05 15:50:52 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-06 13:42:24 +0200 |
| commit | f0f162d0418a9f520751827809d56ed231762210 (patch) | |
| tree | 3a7389ef7d1b6e6cd2c5b595120c427cd404351b /lua/nvim-treesitter/install.lua | |
| parent | 38d34ad493291e3dfb449bd6083a9184b9efdd11 (diff) | |
A few fixes
Diffstat (limited to 'lua/nvim-treesitter/install.lua')
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 94e743fe..04e67a63 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -100,7 +100,7 @@ local function select_install_rm_cmd(cache_folder, project_name) return { cmd = 'rm', opts = { - args = { 'rf', cache_folder..'/'..project_name }, + args = { '-rf', cache_folder..'/'..project_name }, } } end @@ -134,7 +134,6 @@ local function run_install(cache_folder, package_path, lang, repo, with_sync) end local project_name = 'tree-sitter-'..lang - local project_repo = cache_folder..path_sep..project_name -- compile_location only needed for typescript installs. 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" |
