-
Notifications
You must be signed in to change notification settings - Fork 137
Error when trying to navigate to line from empty line #335
Comments
NVIM v0.8.0 |
NVIM v0.7.2 |
@sabah1994, are you using the |
@mystilleef I dont't think so. This is my config https://github.com/sabah1994/dotfiles/blob/d758306f2b02436ad5b48d6f8957e34b5e9a6405/nvim/lua/plug-config/hop.lua#L3 |
@samjwill @mystilleef any update on this please? |
Unfortunately, I'm having the same issue. |
I have the same issue with HopChar2AC and HopChar2BC. It seems like the error occurs when I jump from an empty line and Hop suggests multiple destinations. When there is only one matching destination no error occurs. |
I’m having a look at that tomorrow. That bug has been crawling around in several part of the API, and a refactor of the window position / jump is probably required as more and more features were added in the past months. |
Currently having the same issue, anyone been able to find a workaround? NVIM v0.8.0 |
As a workaround, when the cursor is on a blank line, I let it jump to the next non-blank line, for example:
Not a nice way, and it won't work all the time, but it is enough for now... |
@phaazon any update on this? |
Same issue on hint_char1 and hint_word NVIM v0.8.0 |
Still will break though if you on the last line and it is empty or file consists of an empty lines 😞 |
any progress on this? |
Not sure about Ubuntu, but having the same problem both in Mac Ventura and W10. |
A better work around is to use the following branch instead of the workaround above: https://github.com/aznhe21/hop.nvim/tree/fix-some-bugs Hopefully it gets merged soon... |
|
Will this fix ever get merged? |
@BartSte can't say for sure, but you might try directly using the branch that fixes it in your config |
Yes I know ;) @FelipeLema |
Hi,
If I try to navigate to another line "HopLineAC" or "HopLineBC" from an empty line I get following error.
The text was updated successfully, but these errors were encountered: