parent
b37db4e109
commit
3be4ba8fd2
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user