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

Configurable suffix for the default virtual text handler #151

Closed MariaSolOs closed 10 months ago

MariaSolOs commented 10 months ago

Feature description

Amazing plugin! I just have a small request: I don't want full-blown control over the virtual text that's displayed, I just want to change the 3 dots to a different string.

Describe the solution you'd like

Add a setting to make this suffix configurable. This can be a new option, or the existing fold_virt_text_handler can also be expanded to be a string, and if so, then the default handler is used using that value as the suffix.

Additional context

No response

kevinhwang91 commented 10 months ago

https://github.com/kevinhwang91/nvim-ufo/issues/99

It's a redundant option and makes users confused to customize ufo. And the README and example.lua have given the code to work.

It sounds ruthless, but it reduces the maintenance burden for me.

MariaSolOs commented 10 months ago

@kevinhwang91 I understand. Thank you for your time and I apologize for the duplicate issue.