Can I control the highlighting of the foldtext separately from the color of the line number on a folded line?
I want the foldtext to be quite visible while keeping my chosen line number color
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
I'm afraid this isn't possible. See
:highlight Folded guibg=grey guifg=blue :highlight FoldColumn guibg=darkgrey guifg=white
Folded group encompasses the line number; no further configuration than the above is available.
There is currently an open issue requesting a way to achieve what you ask for, so the Vim maintainers are aware of the problem.