kevinhwang91 / nvim-ufo

Not UFO in the sky, but an ultra fold in Neovim.
BSD 3-Clause "New" or "Revised" License
2.16k stars 37 forks source link

Fold arrow shows when collapsed / closed, but when opened it shows nothing #195

Closed GitMurf closed 5 months ago

GitMurf commented 5 months ago

Neovim version (nvim -v | head -n1)

nvim 0.9.5

Operating system/version

windows 11

How to reproduce the issue

Out of the box config

Expected behavior

I expected to see the fold arrows on lines that can be folded when they are expanded so that I know where all the fold markers are and can click to fold with the mouse if I want to or just use the keymaps.

Actual behavior

When I fold something for example with za it will fold the area and show the closed arrow which is expected. But then when i open the fold, the arrow disappears as if the fold is gone.

GitMurf commented 5 months ago

Here is what it looks like when folded

image

Here is what it looks like after I unfold it (no arrow or sign there is a fold available)

image

kevinhwang91 commented 5 months ago

Not a bug for ufo, check out which plugin renders foldcolumn in your plugin list.