From 4462567926069a1c8d89ee75bcefbb568985c00c Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 20 Oct 2011 02:30:12 -0400 Subject: [PATCH] Fix count argument to :V commands --- autoload/pathogen.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim index 0267219..79c56f2 100644 --- a/autoload/pathogen.vim +++ b/autoload/pathogen.vim @@ -177,7 +177,7 @@ command! -bar Helptags :call pathogen#helptags() " Like findfile(), but hardcoded to use the runtimepath. function! pathogen#runtime_findfile(file,count) "{{{1 let rtp = pathogen#join(1,pathogen#split(&rtp)) - return fnamemodify(findfile(a:file,rtp),':p') + return fnamemodify(findfile(a:file,rtp,a:count),':p') endfunction " }}}1 function! s:find(count,cmd,file,lcd) " {{{1