Skip to content

Commit

Permalink
Merge pull request #27 from kkpattern/master
Browse files Browse the repository at this point in the history
Hide the search output during the search.
  • Loading branch information
jremmen authored Aug 14, 2018
2 parents 63df813 + d112b61 commit f7c1549
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugin/vim-ripgrep.vim
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,20 @@ fun! s:RgGrepContext(search, txt)
let &grepformat = g:rg_format
let l:te = &t_te
let l:ti = &t_ti
let l:shellpipe_bak=&shellpipe
set t_te=
set t_ti=
if !has("win32")
let &shellpipe="&>"
endif

if exists('g:rg_derive_root')
call s:RgPathContext(a:search, a:txt)
else
call a:search(a:txt)
endif

let &shellpipe=l:shellpipe_bak
let &t_te=l:te
let &t_ti=l:ti
let &grepprg = l:grepprgb
Expand Down

0 comments on commit f7c1549

Please sign in to comment.