diff options
| author | Seb Tomasini <sebt@qgates.com> | 2024-03-31 10:37:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-31 11:37:53 +0200 |
| commit | ff797254282b56d98849f6fa1082f3b2f99ebe43 (patch) | |
| tree | 7070ac5e0bb5c8448b375096747b323104501585 | |
| parent | feat(snakemake): add indentation queries (diff) | |
| download | nvim-treesitter-ff797254282b56d98849f6fa1082f3b2f99ebe43.tar nvim-treesitter-ff797254282b56d98849f6fa1082f3b2f99ebe43.tar.gz nvim-treesitter-ff797254282b56d98849f6fa1082f3b2f99ebe43.tar.bz2 nvim-treesitter-ff797254282b56d98849f6fa1082f3b2f99ebe43.tar.lz nvim-treesitter-ff797254282b56d98849f6fa1082f3b2f99ebe43.tar.xz nvim-treesitter-ff797254282b56d98849f6fa1082f3b2f99ebe43.tar.zst nvim-treesitter-ff797254282b56d98849f6fa1082f3b2f99ebe43.zip | |
fix(uninstall): use correct path separator on windows (#6369)
| -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( |
