-
Notifications
You must be signed in to change notification settings - Fork 89
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 does not display regular messages in history #769
Comments
@folke this is a paint point at my current new job. I would really love if you can give me any help on that matter :) Maybe I just don't know how to config properly |
I have the same issue. Until then the |
messages is when you echomsg I wish noice could save "echo" output too (as it already captures it to show it in nvim it could also add it to history) |
Here is a workaround: filter = {
any = {
{ cond = function(_) return true end }
},
}, The |
Oh yeah that dit the trick. When I do filter = {
cond = function(_) return true end,
}, it didn't work but with filter = {
any = {
{ cond = function(_) return true end }
},
}, it does work surprisingly
I am not sure to understand what you mean as I do not know the internals but without any it doesn't work but with any it does work |
The I just added another default command To show all messages always, this is indeed a good approach: filter = {
any = {
{ cond = function(_) return true end }
},
}, |
* up/main: fix(messages): include any messages before Noice was started as one history_show message. Fixes folke#799 feat(config): added `Noice all` to show ALL messages captured by Noice. See folke#769 chore(main): release 2.0.3 (folke#800) chore(build): auto-generate vimdoc fix(nui): safely destroy any create window/buffers during E565 errors. Fixes command preview fix(hacks): use feedkeys instead of input to force redraw
Did you check docs and existing issues?
Neovim version (nvim -v)
0.9.5
Operating system/version
ubuntu 22.04
Describe the bug
When I type echo "test" then :Noice I don't see it in history despite the fact my filter is set to accept everything in the commands.history
Steps To Reproduce
:echo "test"
:echoerr "err"
:Noice
(you only see err not test)
Expected Behavior
test
err
Repro
Use case is for example if I git push I might have relevant information I need to copy paste (my git server gives me important URL I need to keep track of)
The text was updated successfully, but these errors were encountered: