diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 5ce8094..a30841c 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -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