vim9-stargate
vim9-stargate copied to clipboard
When wrap is on last line not fully visible in the window isn't included in a search
Happens because line('w$') return the number above that line, if it it not only the line currently visible.
Edited: As i have found, this problem is much harder to fix for current stargate implementation for searching positions with searchpos() and placing hints with screenpos(). Because this functions doesn't work well with wrapped (not fully visible in the window) lines.
Getting right screen position should be fixed in https://github.com/vim/vim/commit/189663bdac1156237c49925f77bd197c1bdea12c