Closed tummetott closed 4 months ago
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.
This issue was closed because it has been stalled for 7 days with no activity.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1696795921
Operating system/version
MacOs 13.4.1
Describe the bug
When the current search label is disabled, the hidden label is positioned incorrectly if the search was initially turned off by default but later activated using a keymap during the search.
Steps To Reproduce
nvim --clean -u repro.lua repro.lua
q
Seach something and enable flash search:
/local<c-s>
--> The current label is hidde but at the wrong positon (the next position after the search, not the current)
Expected Behavior
The hidden label is the current one (which i can jump with
<CR>
)By the way: The hidden label is correctly positioned when flash is enabled before starting the search. However, it appears at the wrong position when toggling on flash during the search.
Repro