ITADN

fix: add Windows compatibility

#113Pull Requestshurizzle 创建于 2023-09-01
S
shurizzlecommented
`vim.fn.normalize` on Windows converts all the backslashes (standard Windows path component separator) in slashes (unix style). To fix this I convert back slashes in backslashes if `(not= 0 vim.fn.has('win32'))`. Fix hotpot.loader.record.module to use current platform's path component separator instead of fixed slash. Tested on Windows 11 ``` NVIM v0.9.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 ```
合并状态:未合并 关闭于 2023-09-03 4 条评论