1 parent
b37db4e109
commit
3be4ba8fd2
1 file changed
+1
-1
@@ -36,7 +36,7 @@ endfunction "}}}
|
||||
|
||||
function! vimwiki#u#path_norm(path) "{{{
|
||||
" /-slashes
|
||||
if path !~# '^scp:'
|
||||
if a:path !~# '^scp:'
|
||||
let path = substitute(a:path, '\', '/', 'g')
|
||||
" treat multiple consecutive slashes as one path separator
|
||||
let path = substitute(path, '/\+', '/', 'g')
|
||||
|
||||
Reference in new issue
Block a user