2

I've started using

set formatprg=par\ 66q\ g1\ j " keep double spaces, justify

which makes beautifully justified paragraphs. But it would be better if the algorithm preferred to pad after .:;, in that order. Perhaps some such algo. exists?

3
  • 1
    The answer should be obvious from Par's manual... provided that you're one of the three persons alive that actually understand said manual. :) Unrelated: don't put comments at end of lines in Vim files, especially to set lines. Feb 15, 2016 at 18:46
  • @SatoKatsura, are you saying that this posibility already lies in par? why not put comments there? had no problem with it so far.
    – Toothrot
    Feb 15, 2016 at 19:20
  • 2
    Re: comments at end of lines: " is also a string delimiter, Vim's parser is not particularly robust, and the syntax of set is not exactly straightforward. Sooner or later you'll get comments parsed as option values. This is a well-known pitfall. Feb 15, 2016 at 20:24

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.