-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels are not shown for last partially displayed line #283
Comments
Can't imagine what sneak logic would have this effect since the plugin just asks vim to search for text and highlight it. Can you try adding vim-sneak/autoload/sneak/search.vim Lines 43 to 45 in 95374ad
like this:
|
Great! Works like a charm, thank you. |
A slight problem with this simple solution is that it labels invisible positions now, which might result in surprising behaviour - isn't there a way to check whether a match is actually on screen, before the |
yeah :(
idk, grateful if anyone finds a hint. |
Checking the
|
Thanks a lot for the plugin. I generally work in label mode and have set display+=lastline in my .vimrc to show as much as possible of the last visible line.
In that case, sneak correctly highlights all my search results but does not attribute labels to any of the results in the last partially displayed line. If the display option is set to "" or if the last line is displayed entirely, everything works perfectly fine.
The text was updated successfully, but these errors were encountered: