Skip to content
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

Infinite loop with context.vim #45

Open
GuillaumeDeconinck opened this issue Aug 7, 2022 · 0 comments
Open

Infinite loop with context.vim #45

GuillaumeDeconinck opened this issue Aug 7, 2022 · 0 comments

Comments

@GuillaumeDeconinck
Copy link

Hello,

First thank you for this plugin, it really is pleasant to have good smooth scrolling in (neo)vim :)

I have a small issue when using vim-smoothie with context.vim (plugin for showing the current context, like the function name & the class if these are out of the screen).
I think it's more on vim-smoothie side, because it's where the movements "happen" from what I know, but I apologize in advance if it's not the case.

As a picture is worth a thousand words, here is a small recording of the issue:

Recording

Recording 2022-08-06 at 19 36 16

In summary, when the cursor is on the first line of a file, if I go down with CTRL-D in a file that triggers context-vim (so it adds additional lines for the context), it seems that vim-smoothie is confused about the cursor's position due to these additional lines. This put vim-smoothie (I guess?) in a infinite loop, moving up and down infinitely.

I'm on neovim v0.7.2.
I can try to provide a minimal init.vim if needed.

What do you think ?

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant