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

feat: function to merge Ufo providers #219

Open LucasAVasco opened 1 month ago

LucasAVasco commented 1 month ago

Add this function:

require('ufo')mergeProviders({prov1, prov2, ...})

This function will merge prov1, prov2, ... and return a function that gets all folds of these providers

Providers passed as strings will be considered default Ufo providers. Those provided as functions will be executed to obtain the folds

LucasAVasco commented 1 month ago

The correct function is:

require('ufo').mergeProviders({prov1, prov2, ...})

I forgot a dot, sory