You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Use Vim packages install the plugin, also work with some plugins manager such as packer.nvimvim.o.packpath='~/.local/share/nvim/site'vim.cmd('packadd promise-async')
vim.cmd('packadd nvim-ufo')
-- Settingvim.o.foldcolumn='1'vim.o.foldlevel=99vim.o.foldlevelstart=-1vim.o.foldenable=truelocalufo=require('ufo')
ufo.setup()
vim.keymap.set('n', 'zR', ufo.openAllFolds)
vim.keymap.set('n', 'zM', ufo.closeAllFolds)
nvim --clean +'so mini.lua'
...
Expected behavior
After opening the fold with zc, the fold text should be removed immediately.