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

no fold found #384

Open
OrionRandD opened this issue Mar 3, 2023 · 3 comments
Open

no fold found #384

OrionRandD opened this issue Mar 3, 2023 · 3 comments

Comments

@OrionRandD
Copy link

Error detected while processing :
Traceback (most recent call last):
File "", line 1, in
File "/home/lea/.vim/bundle/vim-orgmode/ftplugin/orgmode/_vim.p
y", line 85, in r
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/lea/.vim/bundle/vim-orgmode/ftplugin/orgmode/plugin
s/ShowHide.py", line 104, in toggle_folding
vim.command(u_encode(u'%d,%dfoldclose!' % (heading.start_vim,
heading.end_of_last_child_vim)))
vim.error: Vim(foldclose):E490: No fold found


I get the above error.
How can I fix it?

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jan 11 2023 03:16:36)
on debian...

@awelormro
Copy link

Do you have installed Narrow Region Plugin? Sometimes causes confict with the folding

@OrionRandD
Copy link
Author

Do you have installed Narrow Region Plugin? Sometimes causes confict with the folding

I will check if I have installed NR...

@awelormro
Copy link

Another option is the fastfold plugin, just declare in your vimrc the expression method for orgmode files

autocmd FileType org setlocal foldmethod=expr

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