Skip to content

Infinite loop with context.vim #45

Open

Description

@GuillaumeDeconinck

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 !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions