Skip to content
Discussion options

You must be logged in to vote

There is something a little bit tricky here, which is vim's rules for when it decides to show the Press ENTER ... message. I haven't looked at the internals, but empirically and from years of experience it tends to show up when more than one line of output appears in rapid succession. For example:

:lua print("hi")

Doesn't cause it to appear, but

:lua print("hi\nhi")

Now we see Press ENTER ....

There are a lot of possible options from here:

  1. Figure out what the output is before the SUCCESS rustc ... line and try to eliminate that. :messages will show your recent messages.
  2. Redirect these notifications to a channel that is non-blocking. I use nvim-notify to put notifications in a floating …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Irubataru
Comment options

Answer selected by Irubataru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants