We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7563e4c commit 4f78ca1Copy full SHA for 4f78ca1
autoload/dirvish.vim
@@ -15,7 +15,7 @@ endfunction
15
16
" Normalize slashes for safe use of fnameescape(), isdirectory(). Vim bug #541.
17
function! s:sl(path) abort
18
- return tr(a:path, '\', '/')
+ return has('win32') ? tr(a:path, '\', '/') : a:path
19
endfunction
20
21
function! s:normalize_dir(dir, silent) abort
0 commit comments