-
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: screen flicker when search witn incsearch on #679
Comments
I am also having the same issue on nightly. My screen is flickering in the exact same way as yours @jackielii. It seems like the normal hlsearch behavior of moving the viewport to whatever match it finds is battling with the noice renderer or something. It looks like the viewport is jumping to the match, but noice is trying to pull the viewport back to the original cursor position from when you enter the commandline to initiate the search. |
This issue should be closed. The flickering has stopped since the 0.9.5 release. This is likely an upstream issue and not an issue with noice. |
I can confirm this doesn't happen on latest HEAD anymore |
Encountered the same issue on the Nightly version. When I |
disable noice back to noraml, reopen this issue? |
Seems this issue is reproducible with |
Yes, it's happening again |
Happening/Reproducible again with stable |
* mini.comment - built in * diagnostics keaymaps - built in * update nvim-ts-autotag - does not rely on tree-sitter now * neovide font sizes changed to floating points instead of pixels * remove tree-sitter playground * disable noice - folke/noice.nvim#679
Will be fixed by neovim/neovim#27950 |
* mini.comment - built in - `gc` * lsp hover - built in - `K` * diagnostics keymaps - built in - `[d`, `]d` * update nvim-ts-autotag - does not rely on tree-sitter now * remove tree-sitter playground * neovide font sizes changed to floating points instead of pixels * disable noice - folke/noice.nvim#679
I now get severe flickering of the hlsearch highlight itself when searching on the latest neovim master. |
Yeah, noticed that as well. Going back/forward with the cursor during substitute also doesnt work properly. |
So is everyone on neovim 0.10 with noice just living with the flickers, or is there a workaround I'm missing? |
I only see the flickering when lsp progress is doing something. Besides that I dont see it |
I just pushed an update that should result in less flickering of hlsearch. Let me know if it helps! |
This reverts commit 4e1f9f1.
Definitely seems much better with 4.0.1 and the latest neovim master! Thank you! |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-1954+g0a598c13b-Homebrew
Operating system/version
macOS 14.0
Describe the bug
I tried stable version of nvim v0.9.4, the issue is not here. With latest nightly, when search with
incsearch
on, and the word being searched NOT being on screen, the screen flickersSteps To Reproduce
set incsearch
Expected Behavior
No flicker.
Also I searched existing issues and seems #3 flickers in the search window, while this flicker is on the main buffer window
Screen.Recording.2023-12-25.at.22.28.29.mov
Repro
Screencast
re-recorded with repo.lua and example file:
flicker.mp4
The text was updated successfully, but these errors were encountered: