kevinhwang91 / nvim-ufo

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

Automatic folds #25

Closed Mte90 closed 2 years ago

Mte90 commented 2 years ago

Feature description

There is https://github.com/Konfekt/FastFold maybe this plugin can integrate the feature itself so we can remove another viml dependence.

Describe the solution you'd like

Auto fold documentation code.

Additional context

No response

kevinhwang91 commented 2 years ago

I can't get your point. I guess you misunderstand how ufo works.

Mte90 commented 2 years ago

As I can see adds the mark on the left to help on folding code. This plugin execute the folding on some events automatically.

Or I misunderstood?

kevinhwang91 commented 2 years ago

Yes, but Why do you need FastFold? What's use case can't lsp, indent and treesitter providers cover with? ufo respect provider interface.

Mte90 commented 2 years ago

Perfect, clear :-)