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

Error detected while processing function <SNR>80_ReloadFolds: #21

Closed
huangyingw opened this issue May 28, 2018 · 3 comments
Closed

Error detected while processing function <SNR>80_ReloadFolds: #21

huangyingw opened this issue May 28, 2018 · 3 comments
Labels

Comments

@huangyingw
Copy link

huangyingw commented May 28, 2018

Not easy to reproduce, I haven't found the 100% scenario to reproduce this issue. But I am sure it happened at my side 4-5 times daily.
I only saw this issue when open/close PROJECTROOT/.git/index repeatedly.
.git/index file is a special file under .git folder. Its content is dynamically changed in background.
Not sure whether it is related to neovim.
I am using neovim, vim is too too too slow for me. And transfer from vim to neovim is very very easy.

Bellowing are the neovim output:

Error detected while processing function 80_ReloadFolds:
line 14:
E121: Undefined variable: b:anyfold_ind_actual
Press ENTER or type command to continue
Error detected while processing function 80_ReloadFolds:
line 14:
E116: Invalid arguments for function len
Press ENTER or type command to continue
Error detected while processing function 80_ReloadFolds:
line 14:
E15: Invalid expression: line('$') - len(b:anyfold_ind_actual)
Press ENTER or type command to continue
Error detected while processing function 80_ReloadFolds:
line 14:
E121: Undefined variable: b:anyfold_ind_actual
Press ENTER or type command to continue
Error detected while processing function 80_ReloadFolds:
line 14:
E116: Invalid arguments for function len
Press ENTER or type command to continue
Error detected while processing function 80_ReloadFolds:
line 14:
E15: Invalid expression: line('$') - len(b:anyfold_ind_actual)

@pseewald pseewald added the bug label Jun 20, 2018
@throskam
Copy link

I can reproduce it when closing and reopening a buffer (e.g. :bd|e#)

@pseewald
Copy link
Owner

@huangyingw I hope my fix resolves the issue, please let me know in case you run into this again.

@huangyingw
Copy link
Author

@pseewald yes, great thanks, if I see this again, certainly I will let you know.

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

No branches or pull requests

3 participants