Browse Source

hls doesn't work

pull/10/head
gmarik 15 years ago
parent
commit
8710b90f66
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      autoload/vundle/scripts.vim

+ 3
- 2
autoload/vundle/scripts.vim 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


Loading…
Cancel
Save