diff --git a/plugin/vim-ripgrep.vim b/plugin/vim-ripgrep.vim index d46c57a..332f11d 100644 --- a/plugin/vim-ripgrep.vim +++ b/plugin/vim-ripgrep.vim @@ -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)