hls doesn't work

This commit is contained in:
gmarik 2011-03-19 16:49:38 -05:00
parent 618573c996
commit 8710b90f66

View File

@ -5,9 +5,10 @@ func! vundle#scripts#all(bang, ...)
call s:display(info, matches) call s:display(info, matches)
else else
let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:1,'"').'"') let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:1,'"').'"')
let @/=a:1
call s:display(info + ['"Search results for: '.a:1], matches) call s:display(info + ['"Search results for: '.a:1], matches)
redraw let @/=a:1
" TODO: highlight doesn't work
setl hls
endif endif
echo len(matches).' bundles found' echo len(matches).' bundles found'
endf endf