1

I use something like this to warn me when I'm getting to a line length of 90-ish:

set textwidth=92                                    ░░░░
set colorcolumn=-0,-1,-2,-3                         ░░░░
hi ColorColumn ctermbg=3 ctermfg=0                  ░░░░

I'd like to also highlight the columns past the line length in another color, like:

set colorcolumn2=+1,+2,+3,+4,+5,+6,+7,+8,+9,+10     ░░░░▓▓▓▓▓▓▓▓▓▓
"or: execute "set cc=+" . join(range(1,255), ',+')  ░░░░▓▓▓▓▓▓▓▓▓▓
hi ColorColumn2 ctermbg=1 ctermfg=15                ░░░░▓▓▓▓▓▓▓▓▓▓

I don't think there is such a thing as colorcolumn2, but is there some way to accomplish this?

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.