mirror of
https://github.com/jremmen/vim-ripgrep.git
synced 2025-12-27 04:04:58 +08:00
Add support for Fish shell
This commit is contained in:
parent
ec87af6b69
commit
9ff07cf4ec
1 changed files with 3 additions and 0 deletions
|
|
@ -88,6 +88,9 @@ fun! s:RgGrepContext(search, txt)
|
|||
if !has("win32")
|
||||
let &shellpipe="&>"
|
||||
endif
|
||||
if ($shell == "/bin/fish")
|
||||
let &shellpipe="&"
|
||||
endif
|
||||
|
||||
if exists('g:rg_derive_root')
|
||||
call s:RgPathContext(a:search, a:txt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue