Skip to content

Commit

Permalink
Fix redirect shellpipe cause no match on windows platform bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Kai committed Aug 14, 2018
1 parent 552232d commit d112b61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/vim-ripgrep.vim
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ fun! s:RgGrepContext(search, txt)
let l:shellpipe_bak=&shellpipe
set t_te=
set t_ti=
let &shellpipe="&>"
if !has("win32")
let &shellpipe="&>"
endif

if exists('g:rg_derive_root')
call s:RgPathContext(a:search, a:txt)
Expand Down

0 comments on commit d112b61

Please sign in to comment.