mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(uninstall): use correct path separator on windows (#6369)
This commit is contained in:
parent
6e0b031ebb
commit
ff79725428
1 changed files with 2 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue