hi,
i've often encountered issues with incorrect windows path handling and in the codebase i see many functions to handle them (and sometimes are inconsistently used, e.g. as fixed in #599). neovim has builtin vim.uv and vim.fs (specifically vim.fs.normalize, which on windows and mingw change backward slashes to forward slashes) functions which ensure compatibility on all platforms and allow us to not reinvent the wheel ;)
if this is something of interest, i could write up a PR to change path handling to builtin equivalents (or improvements) wherever it makes sense.
hi,
i've often encountered issues with incorrect windows path handling and in the codebase i see many functions to handle them (and sometimes are inconsistently used, e.g. as fixed in #599). neovim has builtin
vim.uvandvim.fs(specificallyvim.fs.normalize, which on windows and mingw change backward slashes to forward slashes) functions which ensure compatibility on all platforms and allow us to not reinvent the wheel ;)if this is something of interest, i could write up a PR to change path handling to builtin equivalents (or improvements) wherever it makes sense.