From 3be4ba8fd26def8f50bc1dbf1937dcbc591563f0 Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Wed, 6 Nov 2013 13:46:12 +0100 Subject: [PATCH] Of course, I forgot the a: again References #24 --- autoload/vimwiki/u.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimwiki/u.vim b/autoload/vimwiki/u.vim index fddbfd5..f838988 100644 --- a/autoload/vimwiki/u.vim +++ b/autoload/vimwiki/u.vim @@ -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')