Michal Wieczorek wrote:
Hello.

I'd like to see the syntax highlight in the folded lines.
After reading the help I'm able to change the foldtext()
and highlight of the whole line but I can't turn on
syntax highlighting for it.

I found some letters about it (#35931, #18855)
but it wasn't mansion if it's possible.

Can you tell me if it can be done?

Thanks very much.


IIUC, the whole line representing the closed fold is shown using the "Folded" highlight group as determined by the 'highlight' option.

You could try one (only) of the following:

        :hi Folded gui=NONE guibg=NONE guifg=NONE
         \         cterm=NONE ctermbg=NONE ctermfg=NONE
         \         term=NONE


        :hi Folded NONE


        :hi clear Folded


        :set highlight-=f:Folded


NO warranty including MERCHANTABILITY or FITNESS for any particular PURPOSE. ;-)



Best regards,
Tony.

Reply via email to