Giter Club home page Giter Club logo

vim-ripgrep's People

Contributors

kawarimidoll avatar kyoh86 avatar rbtnn avatar tamago324 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vim-ripgrep's Issues

ripgrep#search caused error in Vim

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

2022-10-28.10.22.57.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

ripgrep#observe#add_observer() ignores two or more observers

ripgrep#observe#add_observer() doesn't add an observer if the first observer for the same event has already been added.

Reproduction steps are as below in Vim 9.1(patches: 1-163).

function! Observer1(_) abort
  call setqflist([{ 'text': 'Observer1' }], 'a')
endfunction

function! Observer2(_) abort
  call setqflist([{ 'text': 'Observer2' }], 'a')
endfunction

call ripgrep#observe#add_observer('match', 'Observer1')
call ripgrep#observe#add_observer('match', 'Observer2')

call ripgrep#search('ripgrep')
copen
" Only "Observer1" are listed in the quickfix window.

[question] how to use it?

So I have to input :call ripgrep#search('-w --ignore-case foo') to search foo? I really do not know how to use it. Could you give me an example?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.