-
Notifications
You must be signed in to change notification settings - Fork 105
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
bug: Noice doesn't trigger ModeChanged
when exiting command-line mode.
#390
Comments
I looked into this, and unfortunately this is not possible to fix. When the cmdline is displayed, I need to make sure the cursor is always visible. I do this using It seems that that sets the mode to normal internally, so when exiting the cmdline, the ModeChanged is not triggered. |
@folke Hmm ok. Is it possible to raise a custom event like |
I was able to work-around this issue by not using a normal command to horizontally align the cursor. ModeChanged triggers as expected now |
Thank you! Works great! |
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.9.0-dev-1184+g0ecb4d725
Operating system/version
Arch Linux
Describe the bug
Noice doesn't trigger
ModeChanged
when exiting command-line mode.Steps To Reproduce
:
)<Esc>
)Expected Behavior
Message "mode changed: n" appears when leaving command-line mode.
Repro
The text was updated successfully, but these errors were encountered: