Skip to content

Commit

Permalink
Hide display during search.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Kai committed Aug 14, 2018
1 parent 88ce369 commit 552232d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/vim-ripgrep.vim
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,18 @@ 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=
let &shellpipe="&>"

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 552232d

Please sign in to comment.