-
Notifications
You must be signed in to change notification settings - Fork 115
Output not captured in Quickfix for python scripts #30
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
Comments
I can't reproduce your issue on both Windows and Linux. Can you provide some details about:
|
Sure, I forgot to mention that! I'm on Linux (4.9) and I'm using NeoVim 0.1.7, not vim, with the latest AsyncRun commit (1467e58). |
It seems that output from stdout has been dropped by neovim 0.1.7 if the child process exits too immediately. NeoVim 0.1.7 may buffer the output from child process, but before passing to AsyncRun, it found job finished and simply discarded the buffering data. But it seems okay in my Maybe you can try to upgrade your nvim ? |
Thanks for the response. I get the same problem in neovim 0.2. The problem happens when the 1st buffer I load in neovim (or even vim 8.0.314 – I tested both) is a python file. In any case, removing vim-polyglot solved the issue for now. Since the problem could be with vim-polyglot, feel free to close this issue. |
Maybe global value of errorformat has been modified by vim-polyglot ? Is it possible that somewhere in vim-polyglot changes your global |
You are right! The python language pack from vim-polyglot modifies |
Since you find the problem, you can set it back, and this issue could be closed now. |
Thanks to this I solved this issue for me as well :-) THANKS |
Is there a way to set the errorformat to a local QuickFix window of the AsyncRun, to support poliglot and more? |
Output of python scripts is not displayed in the Quickfix window.
I have the following in a
test.py
file:If I run
:AsyncRun python test.py
the Quickfix window does not display the message. It simply shows:But if I execute
:AsyncRun python -c 'print("Hello world!")'
I correctly get:In bash, for example, it works fine. If I have a file
test.sh
with:and execute
:AsyncRun bash test.sh
I get:What am I missing here? Is there a problem with python output?
The text was updated successfully, but these errors were encountered: