-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
iskeyword clobbered when restoring #26
Comments
Are you loading only C++ files? My hunch is that some rogue runtime file is mucking with the global value, and the session is only relevant because that triggers it at startup. |
Well, I'm still confused, but I can verify that it happens with vim as well as nvim so that means something specific and potentially tractable is likely at the root of this. I'm working on reproducing this with a more "minimal" |
OK I found what I believe is the culprit. Whenever the session I'm restoring includes both C++ and JS files, this happens, because my For whatever reason (maybe the cause are the I have also tested that if I replace my I don't know enough about For now I will be changing all these type of tweaks to setlocal and I can happily resume using sessions again. |
@unphased (Buffer-)Local options are only changed locally when using This can probably be closed. |
My C++ files end up loading up (when restoring with
vim -S
ornvim -S
) withiskeyword
having gained a-
which causes problems for various reasons.What's confusing to me is that the Session.vim file has no mention of
iskeyword
inside of it. And usingverbose set iskeyword?
does NOT show me where it got set/changed.I also acknowledge that this is likely not an error with or caused by obsession... but hopefully someone has a clue for me.
The text was updated successfully, but these errors were encountered: