vim9-stargate
vim9-stargate copied to clipboard
Vim bug: wrong result of screenpos() when searched line contains hidden conceal characters
Upstream bug.
Current implementation for showing hints with popup windows require searchpos() function, but currently (and maybe will not be fixed) https://github.com/vim/vim/issues/8483 it's results are wrong when searched line contains hidden conceal characters. Because of that popups are shifted to the right of needed location, but jumps are correct.
Need to find an efficient (fast) workaround for that (like difference of wincol() and screenpos(), or maybe different implementation that doesn't use screenpos() at all like popup_atcursor() that should be fixed with https://github.com/vim/vim/issues/8476