From 0159cf09ca19943113f37ba54ff0aec07e77dc3a Mon Sep 17 00:00:00 2001 From: Andrea Cedraro Date: Mon, 28 Jul 2014 14:19:25 +0200 Subject: [PATCH] Inline s:path() in s:dirpath() --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 8fcb1b7..6db7e7f 100644 --- a/plug.vim +++ b/plug.vim @@ -218,7 +218,7 @@ else endfunction function! s:dirpath(path) - return s:path(a:path) . '/' + return substitute(a:path, '[/\\]*$', '/', '') endfunction endif