Of course, I forgot the a: again

References #24
This commit is contained in:
EinfachToll 2013-11-06 13:46:12 +01:00
parent b37db4e109
commit 3be4ba8fd2

View File

@ -36,7 +36,7 @@ endfunction "}}}
function! vimwiki#u#path_norm(path) "{{{ function! vimwiki#u#path_norm(path) "{{{
" /-slashes " /-slashes
if path !~# '^scp:' if a:path !~# '^scp:'
let path = substitute(a:path, '\', '/', 'g') let path = substitute(a:path, '\', '/', 'g')
" treat multiple consecutive slashes as one path separator " treat multiple consecutive slashes as one path separator
let path = substitute(path, '/\+', '/', 'g') let path = substitute(path, '/\+', '/', 'g')