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

Support concealed text in fold text #153

Closed milisims closed 9 months ago

milisims commented 10 months ago

Feature description

If a character / text region is concealed by a character (such as :h treesitter-highlight-conceal) it would be nice for the concealed version to be extracted.

Describe the solution you'd like

An option or by default to enable concealed text, or have the concealed information available to ctx.get_fold_virt_text. To me it makes sense to have an option for, but the second option would also be great.

kevinhwang91 commented 10 months ago

I don't use conceal feature, PR, or give a test/dev ENV here, I will implement this if I don't get it boring.