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

bug: search prompt not working when flash search mode is enabled #1059

Open
4 tasks done
xian-wen opened this issue Feb 16, 2025 · 4 comments
Open
4 tasks done

bug: search prompt not working when flash search mode is enabled #1059

xian-wen opened this issue Feb 16, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@xian-wen
Copy link

xian-wen commented Feb 16, 2025

Did you check docs and existing issues?

  • I have read all the noice.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of noice.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.10.4

Operating system/version

Ubuntu 22.04

Describe the bug

When search mode is enabled in flash, what I type is not shown in the search window. When I disable it, the search prompt displays correctly.
Search enabled in flash:
Image
Search disabled in flash:
Image

Steps To Reproduce

  1. Enable search mode in flash
  2. Search something

Expected Behavior

The search prompt displays correctly.

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/noice.nvim", opts = {} },
    -- add any other plugins here
  },
})
@xian-wen xian-wen added the bug Something isn't working label Feb 16, 2025
@xian-wen
Copy link
Author

xian-wen commented Feb 16, 2025

BTW, @folke, if you have time, could you please also fix the flashiness when typing each search character? When noice is disabled, there is no any visible refresh.
Image

@folke
Copy link
Owner

folke commented Feb 16, 2025

You need nightly for a better experience with search.

@xian-wen
Copy link
Author

Never mind. If that is the case, I prefer the stable version since upgrading nightly takes a long time to build.

@xian-wen
Copy link
Author

Hoping you could fix the search prompt problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants