mileszs / ack.vim

Vim plugin for the Perl module / CLI script 'ack'
Other
3.08k stars 396 forks source link

vim8 async support #209

Open dagon666 opened 7 years ago

dagon666 commented 7 years ago

A support for vim8 asynchronous API would be very much appreciated.

djmadeira commented 7 years ago

This is already supported; use g:ack_use_dispatch = 1 (you'll need to install vim-dispatch first)

ches commented 7 years ago

The Dispatch support has shortcomings—for one, there's no callback mechanism when a job has completed so we pop up the quickfix list early before results are ready to populate it.

I'd be glad to see support for the Vim 8 jobs API. I'm disappointed that Vim and Neovim went in different directions on this, maybe something like this could help support both.

sj26 commented 6 years ago

I gave this a go using pure vim 8 job control: https://github.com/mileszs/ack.vim/pull/247