wilder.nvim
wilder.nvim copied to clipboard
Popup renderer is a character behind for search and replace
When doing a :%s/foo/bar search and replace using the popupmenu_renderer after the first / character the popup display of the current command is one character behind. The search and replace still works, but it isn't properly reflected in the popup.
Did you ever find a solution to this?
Same problem here
A small update:
It seems the problem happen when we type :s plus any characters different from a-z or A-Z or 0-9
I was reading the code and I tried a few things to understand the problem:
- I checked the status structure, ctx and others structures without noticing nothing abnormal
- I tried to modify the cmdline string, and I was able to modify what Wilder shows, but the error still remains
- Finally I tried to check if
redrawis called correctly and it is... try also added some extra redraws but isn't working
Any ideas @gelguy ?