Bug: There is no problem with pressing enter in the title to open the folding, but pressing enter to fold is incorrect
xinmodao opened this issue · 0 comments
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