-
Notifications
You must be signed in to change notification settings - Fork 102
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
search count messages do not show in Statusline Components #217
Comments
I assume you had |
Hi, sorry for the late response. I tested it on c11d1c6 and unfortunately, it is still the same behaviour as before. Also, as you mentioned, I have |
It really should work now. Are you sure you updated? What is your Noice config? |
Yes I previously had 7b62ccf stapled in packer ( My config is as follow: require("noice").setup({
popupmenu = {
enabled = false, -- enables the Noice popupmenu UI
},
notify = {
enabled = false,
},
lsp = {
progress = {
enabled = false,
},
override = {
-- override the default lsp markdown formatter with Noice
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
-- override the lsp markdown formatter with Noice
["vim.lsp.util.stylize_markdown"] = true,
},
documentation = {
view = "hover",
opts = {
lang = "markdown",
replace = true,
render = "plain",
format = { "{message}" },
win_options = { concealcursor = "n", conceallevel = 3 },
},
},
},
presets = {
lsp_doc_border = true
},
routes = {
{
filter = {
event = "msg_show",
["not"] = {
kind = { "confirm", "confirm_sub" },
},
},
opts = { skip = true },
},
},
}) |
You will want to remove that Apart from that all works as expected with your config for me. Please provide a https://github.com/folke/noice.nvim/wiki/Minimal-%60init.lua%60-to-Reproduce-an-Issue |
Also, what is your statusline config? |
I was able to get a complete reproductible example with that: |
You're getting the last message in the statusline, not |
Oh! Now I get it, thanks! I was searching at the wrong place since the behaviour changed in updating to latest commit. My apologies for the trouble, I did not read the docs correctly. |
Describe the bug
Since commit e5092c2 (#211), the search count message does not appear in status line. What is weird is that the first result has a search count, but subsequent
n/N
matchs and searches do not. Status line config can be seen in GIF.Which version of Neovim are you using?
NVIM v0.9.0-dev-296+g7335a67b5
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
Search count in status line.
Screenshots
Noice Log
Nothing relevant.
The text was updated successfully, but these errors were encountered: