cloudhead / neovim-fuzzy

Minimalistic fuzzy file finding for neovim
BSD 3-Clause "New" or "Revised" License
111 stars 17 forks source link

Error when run FuzzyOpen in neovim #14

Closed HiddenPython closed 7 years ago

HiddenPython commented 7 years ago

Error when run FuzzyOpen in neovim: Error detected while processing function 36_fuzzy_open:
line 22:
Vim(let):E118: Too many arguments for function: 263

Env: OS: Ubuntu 16.04.1 LTS NVIM: 0.2.0-dev

cloudhead commented 7 years ago

I merged something related to this recently: https://github.com/cloudhead/neovim-fuzzy/pull/13

Can you check with latest master?

HiddenPython commented 7 years ago

My copy has already been the latest one.

commit 8832151646d08d69c3cf330ebb8f365764e62245 Author: Alexis Sellier alexis@cloudhead.io

Merge pull request #13 from hlidotbe/master

Neovim expects 3 arguments to job handlers
leidav commented 7 years ago

I have the same issue on arch linux with nvim 0.1.7

adham90 commented 7 years ago

+1

leidav commented 7 years ago

I forgot to install ripgrep. It works now.

HiddenPython commented 7 years ago

Installing rg also solved my problem. Thanks for your information, David. But two things:

  1. the error msg is not very informative
  2. FuzzyOpen doesn't depend on rg or ag unlike FuzzyGrep, so it's weird that they have caused it to fail.

Do they make sense to you, Alexis?

cloudhead commented 7 years ago

Error message fixed in https://github.com/cloudhead/neovim-fuzzy/commit/e3a5170d46eca972ec8449bebd8618438f3ec9eb thanks for reporting.

FuzzyOpen does depend on rg/ag, since it uses them to find files as well as search the contents of them.