Browse Source

Merge branch 'vheon-refactoring' into refactoring

Junegunn Choi 11 years ago
parent
commit
eeef77e9c8
1 changed files with 1 additions and 1 deletions
  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)