Hacker News new | past | comments | ask | show | jobs | submit login

Vim users can do "set formatprg=par" to use par for formatting ("gq"). Super great for keeping comments <80 chars



But doesn’t that overwrite the format algorithm for the filetype altogether? I mean, does it break formatting for the rest of the document (the non-comment)? Or does this somehow play nice with formatlistpat?


par tops out at 72 by default afaik, so if you 80 is your preferred limit, I'd suggest `par -w79`


What does it use by default?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: