6

I am using the script from here, and it seems setting the g:custom_foldtext_max_width variable cannot get rid of the extra "--" symbols in the end of the folded lines.

Is there any way to make the folded line not go beyond 80 characters ?

screenshot

6

You can

set fillchars=fold:\ 

See :h fillchars.

  • 1
    Thanks for the reply. It works for removing the ending dashes. But is it possible to also remove the extra background highlighting after 80 chars ? – cinvro Feb 23 '16 at 7:52
  • 1
    No, I don't think that's possible. :\ – Karl Yngve Lervåg Feb 23 '16 at 9:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.