2. go to a closed fold, open it with `zo`
3. search for any item within the fold using either `:call search('thing')` or `/thing<CR>`
4. Fold is closed
### 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
https://user-images.githubusercontent.com/22454918/176205985-23cfdf2d-3310-4c4f-9849-796e823f5a67.mov
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>
vim.opt.termguicolors = true vim.opt.foldlevelstart = 2 vim.opt.foldenable = true
require("ufo").setup()