kevinhwang91 / nvim-ufo

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

Allow to configure open_fold_hl group(UfoFoldedBg) #50

Closed vatosarmat closed 2 years ago

vatosarmat commented 2 years ago

Feature description

Allow to configure highlight color which is applied when opening folds(UfoFoldedBg) Currently it is forced to be same as Folded background

Describe the solution you'd like

change cmd(('hi UfoFoldedBg guibg=#%x'):format(hl.background)) to cmd(('hi default UfoFoldedBg guibg=#%x'):format(hl.background))

Additional context

Thanks you for the great plugin!

kevinhwang91 commented 2 years ago

Good idea.