-
Notifications
You must be signed in to change notification settings - Fork 28
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
scrolloff
is not reverted back to its old value on exiting
#73
Comments
Hi! Yes, I suspect we are the guilty ones. It should be temporary of course, any In the meanwhile, it would be great if you could help me narrow it down, when exactly does this occur? (Successful jump or early exit, e.g. |
Hi, I am trying to narrow it down but for now I could not repro it. FYI, in case it helps, I have these in my init.vim:
|
Hmm, it's great that you shared the config - it seems you're using a pretty old version, this workaround is not valid anymore, we have EDIT: First let's make sure that the bug indeed occurs with |
version is about a couple of months or so I guess, but yeah, I just updated, and will ping here if I see the issue again in the following days. Thanks! |
I'm closing this now, we can reopen anytime if needed. |
ah, this is what's causing my scrolloff to change. i am getting this with 3140e02 so i assume this is still an issue. |
Okay, then the task is the same as before: try to narrow it down, if you're able to, because now I really have no idea offhand where the potential "leak" could be. |
had the same experience as @jmlucjav and was unable to replicate it when trying, so i have no idea what it could be. i have not experienced it before and the only thing added was this plugin (since removed due to wontfixes) so i'm 99% certain it was caused by it. best of luck. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
A note for everyone experiencing this issue: the problem can be circumvented by "manually" setting the value back to the preferred one, hardcoded into an autocommand, on exiting Lightspeed. Caveat: you should define this autocommand after Lightspeed has been sourced, else Lightspeed's one will overwrite yours ( " + the usual augroup boilerplate
autocmd User LightspeedLeave set scrolloff=... |
scrolloff
is not reverted back to its old value on exiting
This comment has been minimized.
This comment has been minimized.
The bug in ggandor/lightspeed.nvim#73 has been fixed 🎉
Hi,
I have
scrolloff=999
but after a while, I notice it is set to 0. I have searched over all my plugins etc, and lightspeed is a suspect. I saw this #27 and it look related. I understand this should be temporary, but it seems something is not ok and scrolloff stays at 0.
Is there anything I could do to verify this?
thanks
The text was updated successfully, but these errors were encountered: