1

As far as I know, neovim enables running a command async, without blocking the user. This is also enabled in vim8 I was told.

But I couldn't find examples of how to run a command asyncly. Suppose that I want to run the command :make. How would I run this command in neovim without blocking?

Is there an example I can find, or easy to follow documentation?

  • 3
    For Vim 8, see :help job_start(). NeoVim has a similar API but the function is jobstart() instead. – filbranden Oct 7 at 23:17
  • 1
    If you're comfortable reading plugin code, dispatch is a great place to start – D. Ben Knoble Oct 8 at 2:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.