Skip to content
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

:Grep example suddenly stops working #16

Open
fedemp opened this issue Nov 9, 2018 · 0 comments
Open

:Grep example suddenly stops working #16

fedemp opened this issue Nov 9, 2018 · 0 comments

Comments

@fedemp
Copy link

fedemp commented Nov 9, 2018

I have your :Grep command example in my .init.vim. As the title says, it works great when I open nvim but it just stops getting results after a while. I have the command defined as mentioned in the docs.

command! -bang -nargs=* Grep call asyncdo#run(<bang>0, &grepprg, <f-args>)

My grepprg is rg --vimgrep. I have also tried with ag --vimgrep.

I added the flag to the status line to know if it's running and I see it running for a while (big code base).

Running :grep populates the quickfix just fine.

I also have defined specifically for Javascript files

setlocal makeprg=eslint

command! -bang -nargs=* Make call asyncdo#run(<bang>0, &makeprg, <f-args>)

autocmd! BufWritePost <buffer> Make -f compact %

and it has always worked fine. I tried disabling it, but even so :Grep stops working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant