summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/syntax/javascriptreact.vim
diff options
context:
space:
mode:
authortao <2471314@gmail.com>2026-04-25 01:20:25 +0800
committerGitHub <noreply@github.com>2026-04-24 13:20:25 -0400
commitf130922744657b731c24a842a85fd8a9f8058073 (patch)
tree9540b465b8a5d937638e2f9b8a7a0d2e920f593b /runtime/syntax/javascriptreact.vim
parent27191e0f4f4f9086180a8fbe3e52c1c280a70b09 (diff)
fix(path): normalize path slashes on Windows #37729
Problem: On Windows, path separators may become inconsistent for various reasons, which makes normalization quite painful. Solution: Normalize paths to `/` at the entry boundaries and always use it internally, converting back only in rare cases where `\` is really needed (e.g. cmd.exe/bat scripts?). This is the first commit in a series of incremental steps. Note: * some funcs won't respect shellslash. e.g. `expand/fnamemodify` * some funcs still respect shellslash, but will be updated in a follow PR. e.g. `ex_pwd/f_chdir/f_getcwd` * uv's built-in funcs always return `\`. e.g. `uv.cwd/uv.exepath` Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'runtime/syntax/javascriptreact.vim')
0 files changed, 0 insertions, 0 deletions