Use platform slashes for :Gcd
The only current difference is backslashes on Windows, which aren't required, but this may evolve into larger changes in the future.
This commit is contained in:
parent
a80b965d0d
commit
45ca1eab83
@ -2206,7 +2206,7 @@ function! s:DirArg(path) abort
|
|||||||
if path =~# '^/\|^\a\+:\|^\.\.\=\%(/\|$\)'
|
if path =~# '^/\|^\a\+:\|^\.\.\=\%(/\|$\)'
|
||||||
return path
|
return path
|
||||||
else
|
else
|
||||||
return (empty(s:Tree()) ? s:Dir() : s:Tree()) . '/' . path
|
return s:PlatformSlash((empty(s:Tree()) ? s:Dir() : s:Tree()) . '/' . path)
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user