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

Numerous operations result in: E108: No such variable: "b:coiled_snake_should_foldsetlocal" #37

Open
jeetsukumaran opened this issue Mar 2, 2022 · 4 comments

Comments

@jeetsukumaran
Copy link

When:

(1) restoring sessions
(2) reformatting the code in an external process such as :! black %
(3) reloading some files

I often get the following errors:

Error detected while processing function <SNR>32_LoadFTPlugin:
line    2:
E108: No such variable: "b:coiled_snake_should_foldsetlocal"
E488: Trailing characters

It rarely results in totally borked folding, but I do have to zR to get them. My sessionoptions used to be: set sessionoptions=buffers,curdir,skiprtp,tabpages,folds, but I get the errors even without folds (though less frequently). I can try to figurte this out later, or pin down a replicable MWE, but thought I would open the issue to see if you or others have seen this before.

subnut added a commit that referenced this issue Mar 2, 2022
@subnut
Copy link
Collaborator

subnut commented Mar 2, 2022

Could you please test whether the fix-37 branch fixes this issue?

@jeetsukumaran
Copy link
Author

Thanks for the quick response! I've pulled the fix, and will update here with feedback if I am unable to any longer see the error! :)

@jeetsukumaran
Copy link
Author

So far, so good! Been working flawlessly. Will let you know if this happens again, but think it's been fixed. Either way, THANKS for the best Python folding I've seen yet in Vim/Neovim :) !

@subnut
Copy link
Collaborator

subnut commented Mar 3, 2022

Thank @kalekundert :)

Also, @jeetsukumaran, I've updated the fix-37 branches with some important changes. Please update it on your end too, and let me know if there are any new problems (there shouldn't be...)

P.S. I am keeping this issue open until fix-37 gets merged to the master branch.

@subnut subnut reopened this Mar 3, 2022
ghickman added a commit to ghickman/dotfiles that referenced this issue Apr 29, 2024
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

2 participants