We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NVIM v0.8.0-dev+1941-gb7084fef4
macOS 12.4
init.lua
nvim -u <minimal-init> --no-plugin <file-with-folds>
vim.cmd("packadd! nvim-ufo") vim.opt.termguicolors = true vim.opt.foldlevelstart = 2 vim.opt.foldenable = true require("ufo").setup()
zo
:call search('thing')
/thing<CR>
Searching inside a folded area should not cause the fold to be closed
Searching inside a folded area causes the fold to close back up
The text was updated successfully, but these errors were encountered:
ufo listen CmdlineLeave to update the fold. The issue is similar to #7 Set a large foldlevel value.
CmdlineLeave
Sorry, something went wrong.
can be improved by checking the changedtick.
fix(fold): only update pending fold after leaving cmdline (#27)
2d422c4
No branches or pull requests
Neovim version (nvim -v | head -n1)
NVIM v0.8.0-dev+1941-gb7084fef4
Operating system/version
macOS 12.4
How to reproduce the issue
init.lua
vianvim -u <minimal-init> --no-plugin <file-with-folds>
zo
:call search('thing')
or/thing<CR>
Expected behavior
Searching inside a folded area should not cause the fold to be closed
Actual behavior
Searching inside a folded area causes the fold to close back up
nvim-ufo-bug.mov
The text was updated successfully, but these errors were encountered: