Browse Source

Ignore case when searching scripts

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

+ 2
- 2
autoload/vundle/scripts.vim View File

@ -1,5 +1,5 @@
func! vundle#scripts#search(bang,search_str)
let matches = filter(s:load_scripts(a:bang), 'v:val =~ "'.escape(a:search_str,'"').'"')
let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:search_str,'"').'"')
let results = map(matches, ' printf("Bundle \"%s\"", v:val) ')
call s:display(results, a:search_str)
endf
@ -10,7 +10,7 @@ func! s:display(results,search_str)
pedit `=s:buff`
wincmd P
let @/=a:search_str
setlocal hls ft=vim
setlocal hls ignorecase ft=vim
redraw!
endf


Loading…
Cancel
Save