alfredodeza / pytest.vim

Runs your UnitTests with py.test displaying red/green bars and errors
274 stars 39 forks source link

calling pytest is blocking #2

Closed RonnyPfannschmidt closed 5 years ago

RonnyPfannschmidt commented 13 years ago

Conque is also non-blocking, so it should be possible (most likely hard tho)

alfredodeza commented 13 years ago

Correct. But this is not specific to pytest.vim

Any external command will block Vim while it executes. This is because Vim is blocking and does not allow subprocesses/forks. The way Conque implements this is by using Python and communicating back.

pytest.vim is 100% VimL so it is not possible to avoid the blocking in its current implementation

alfredodeza commented 6 years ago

I am currently working on async support with Vim 8. Async support with NeoVim is currently on master.

alfredodeza commented 5 years ago

Vim 8 support which is fully async is supported without extra configuration, no blocking happens.