Inline s:path() in s:dirpath()

This commit is contained in:
Andrea Cedraro 2014-07-28 14:19:25 +02:00
parent d690f8d576
commit 0159cf09ca

View File

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