Przeglądaj źródła

Merge branch 'vheon-refactoring' into refactoring

Junegunn Choi 11 lat temu
rodzic
commit
eeef77e9c8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -226,7 +226,7 @@ else
   endfunction
 
   function! s:dirpath(path)
-    return s:trim(a:path) . '/'
+    return substitute(a:path, '[/\\]*$', '/', '')
   endfunction
 
   function! s:is_local_plug(repo)