mirror of
https://github.com/jremmen/vim-ripgrep.git
synced 2026-01-08 19:37:27 +08:00
Fix redirect shellpipe cause no match on windows platform bug.
This commit is contained in:
parent
552232da7c
commit
d112b6127f
1 changed files with 3 additions and 1 deletions
|
|
@ -61,7 +61,9 @@ fun! s:RgGrepContext(search, txt)
|
||||||
let l:shellpipe_bak=&shellpipe
|
let l:shellpipe_bak=&shellpipe
|
||||||
set t_te=
|
set t_te=
|
||||||
set t_ti=
|
set t_ti=
|
||||||
let &shellpipe="&>"
|
if !has("win32")
|
||||||
|
let &shellpipe="&>"
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('g:rg_derive_root')
|
if exists('g:rg_derive_root')
|
||||||
call s:RgPathContext(a:search, a:txt)
|
call s:RgPathContext(a:search, a:txt)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue