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\+:\|^\.\.\=\%(/\|$\)'
|
||||
return path
|
||||
else
|
||||
return (empty(s:Tree()) ? s:Dir() : s:Tree()) . '/' . path
|
||||
return s:PlatformSlash((empty(s:Tree()) ? s:Dir() : s:Tree()) . '/' . path)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user