-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rg exits with 1 when ran from within neovim #35
Comments
Are you sure your search is taking place in the right directory and actually returns results? I can run It might help to try running |
@BurntSushi This is weird..
However, |
Just to confirm the reported issue, I'm also seeing this behavior with the |
Thanks @elasticdog I'm using NeoVim on Ubuntu 14.04 with oh-my-zsh. |
Interesting, I can finally reproduce this in neovim (Linux), but vim works fine (Linux, Mac). Only thing I can think of is that |
could it be due to this? Quoting:
|
I'm running into something similar trying to add
Testing with |
This should be fixed now. |
@BurntSushi Awesome! Do you plan to release a new version soon? Thank you! 😄 |
I'd like to get a release out today. I'm just trying to cram as many fixes in as I can. :-) |
If no paths are given to ripgrep, only read from stdin if it's a file or a FIFO. In particular, if something like `rg foo < /dev/null` is used, then don't try to read from stdin. Fixes BurntSushi#35, BurntSushi#81
I'm trying to use
rg
with ag.vim. I have the following in my vim config:However, it never returns results.
It turns out that when trying to run it from the vim command line it exits with
1
instead of giving results:The same thing works fine with
ag
:Running
rg --no-heading --vimgrep
from the terminal works fine.Here's trying to run
rg
in vim with--debug
:Any ideas?
The text was updated successfully, but these errors were encountered: