diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/utils.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua index 156ba9c31..c738ee56e 100644 --- a/lua/nvim-treesitter/utils.lua +++ b/lua/nvim-treesitter/utils.lua @@ -13,7 +13,7 @@ end -- Returns the system specific path seperator. ---@return string function M.get_path_sep() - return fn.has "win32" == 1 and "\\" or "/" + return (fn.has "win32" == 1 and not vim.opt.shellslash:get()) and "\\" or "/" end -- Returns a function that joins the given arguments with separator. Arguments |
