diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 0a7a9ae3d..1f2bd7b16 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -526,6 +526,7 @@ local function install(options) if err then return api.nvim_err_writeln(err) end + install_folder = install_folder and clean_path(install_folder) assert(install_folder) local languages ---@type string[] @@ -621,6 +622,7 @@ function M.uninstall(...) if err then return api.nvim_err_writeln(err) end + install_dir = install_dir and clean_path(install_dir) if vim.tbl_contains(ensure_installed_parsers, lang) then vim.notify( |
