Closed
Description
nvim --headless -c 'echoerr 1'
will display the error and appears to wait for the Enter from the hit-enter prompt:
Error detected while processing command line:
1
It does not handle any Enter
presses though, and Ctrl-C
is required to cancel it.
Without --headless
it will redraw the screen and displays:
Error detected while processing command line:
1
Press ENTER or type command to continue
You can use nvim --headless -c 'echoerr 1' -c q
to work around this, but Neovim should not hang there without -c q
already.