From 7d171d5bd86ecce18e29f0fc3c6d5e72b06177af Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 16 Jan 2010 16:14:10 -0500 Subject: [PATCH] Consistently punctuate documentation --- autoload/pathogen.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim index fe7b053..7be7ef4 100644 --- a/autoload/pathogen.vim +++ b/autoload/pathogen.vim @@ -50,18 +50,18 @@ function! pathogen#legacyjoin(...) abort " {{{1 return call('pathogen#join',[1] + a:000) endfunction " }}}1 -" \ on Windows unless shellslash is set, / everywhere else +" \ on Windows unless shellslash is set, / everywhere else. function! pathogen#separator() abort " {{{1 return !exists("+shellslash") || &shellslash ? '/' : '\' endfunction " }}}1 -" Convenience wrapper around glob() which returns a list +" Convenience wrapper around glob() which returns a list. function! pathogen#glob(pattern) abort " {{{1 let files = split(glob(a:pattern),"\n") return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")') endfunction "}}}1 -" Like pathogen#glob(), only limit the results to directories +" Like pathogen#glob(), only limit the results to directories. function! pathogen#glob_directories(pattern) abort " {{{1 return filter(pathogen#glob(a:pattern),'isdirectory(v:val)') endfunction "}}}1