Skip to content
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

Way to test neovim plugin on github CI / avoid hit enter to continue after message #28886

Closed
saidelike opened this issue May 21, 2024 · 2 comments
Labels
enhancement feature request

Comments

@saidelike
Copy link

Problem

I would like to test a neovim plugin in github CI. The problem is that it seems to hang waiting for me to hit enter after a message is displayed.

Expected behavior

It would be nice to have a way to disable requiring to hit enter entirely for any message being displayed so it doesn't block in CI environment where no user interaction is possible.

I am aware of the "shortmess" option https://neovim.io/doc/user/options.html#%27shortmess%27 but it doesn't seem possible to disable them all for sure, at least it didn't seem to help me.

There is the noice plugin https://github.com/folke/noice.nvim that allows redirecting messages to notifications and it has the nice side effect of not requiring me to hit enter but it means installing an additional plugin just for that in CI to get a feature that could be nice to have in neovim itself.

@saidelike saidelike added the enhancement feature request label May 21, 2024
@clason
Copy link
Member

clason commented May 21, 2024

Duplicate of #22478

@clason clason marked this as a duplicate of #22478 May 21, 2024
@clason clason closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
@saidelike
Copy link
Author

Hi,

Just thought I would come back here to let everyone know that I fixed the problem in my case. Indeed, my question was on github CI, not in a normal neovim use.

And so, using --headless (https://neovim.io/doc/user/starting.html#--headless) avoids that problem when executing on github CI and bypasses the "hit enter to continue" thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request
Projects
None yet
Development

No branches or pull requests

2 participants