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
Segfault with "nvim -u NONE --headless --embed -es" #10031
Comments
For your use-case don't use Meanwhile, there does seem to be a bug here. |
Ref: neovim/neovim#10031 (comment) With `--embed` it would hang with output during autoload, likely waiting for an hit-enter prompt (e.g. with `for i in range(0, 10) | echom i | endfor` in `autoload/neomake/highlights.vim`).
@justinmk |
Ref: neovim/neovim#10031 (comment) With `--embed` it would hang with output during autoload, likely waiting for an hit-enter prompt (e.g. with `for i in range(0, 10) | echom i | endfor` in `autoload/neomake/highlights.vim`).
As far as I know there's no way to use stdin as both an msgpack-rpc channel and a regular "textual channel", right? So would fixing this issue be as simple as making neovim print an error message and quit when both |
That makes sense to me. 👍 |
Just noticed this when adding
-es
to a test in Neomake where I am using an embedded Neovim, which apparently hangs due to waiting for hit-Enter (from:echom
I've added for debugging).The test is at https://github.com/neomake/neomake/blob/6e5ff157a678812454d8bf465b630875f9a8c476/tests/compat.vader#L80-L86 - would be interested in how to ignore hit-enter there in general.
NVIM v0.4.0-744-ga541c681f
The text was updated successfully, but these errors were encountered: