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

Bug: There is no problem with pressing enter in the title to open the folding, but pressing enter to fold is incorrect #254

Open
xinmodao opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@xinmodao
Copy link

xinmodao commented Sep 11, 2024

Bug description
There is no problem with pressing enter in the title to open the folding, but pressing enter to fold is incorrect

Error output and/or screenshots
Error executing Lua callback: vim/_editor.lua:0: nvim_exec2(): Vim(fold):E350: Cannot create fold with current 'foldmethod'
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...al/share/nevim/lazy/mkdnflow.nvim/lua/mkdnflow/folds.lua:91: in function 'foldSection'
...share/nevim/lazy/mkdnflow.nvim/lua/mkdnflow/wrappers.lua:87: in function 'followOrCreateLinksOrToggleFolds'
...share/nevim/lazy/mkdnflow.nvim/lua/mkdnflow/wrappers.lua:101: in function 'multiFuncEnter'
...local/share/nevim/lazy/mkdnflow.nvim/plugin/mkdnflow.lua:35: in function <...local/share/nevim/lazy/mkdnflow.nvim/plugin/mkdnflow.lua:31>

Context
(Please complete the following information):

  • OS: [Arch Linux]
  • Neovim version [0.10.0]
  • Package manager [Lazy]
  • config is the default

Press enter to fold to open and close the title, do I need to set anything else?
MkdnFoldSection Same error

@xinmodao xinmodao added the bug Something isn't working label Sep 11, 2024
@xinmodao xinmodao changed the title Bug: [DESCRIPTION] Bug: There is no problem with pressing enter in the title to open the folding, but pressing enter to fold is incorrect Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants