kyoh86 / vim-ripgrep

A plugin for Vim8/Neovim to search text by ripgrep (rg) asynchronously
MIT License
30 stars 3 forks source link

ripgrep#search caused error in Vim #9

Closed kawarimidoll closed 2 years ago

kawarimidoll commented 2 years ago

:call ripgrep#search('-w -i foo') caused error in Vim. (it works well in Neovim)

https://user-images.githubusercontent.com/8146876/198438645-0440829c-04b5-419f-92be-cd17145c0559.mov

setting file:

set nocompatible
packadd vim-jetpack
call jetpack#begin()
call jetpack#add('tani/vim-jetpack', {'opt': 1})
call jetpack#add('kyoh86/vim-ripgrep')
call jetpack#end()

error:

function ripgrep#search[12]..ripgrep#call[3]..ripgrep#job#start[1]..<SNR>36_job_start の処理中にエラーが検出されました:
行   77:
E475: 無効な引数です: stdin
続けるにはENTERを押すかコマンドを入力してください

Vim version:

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 19 2022 18:24:48)
macOS 版 - arm64
適用済パッチ: 1-800
Compiled by Homebrew
Huge 版 without GUI