Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jzelinskie
· 2y ago · 0 comments
Vim users can do "set formatprg=par" to use par for formatting ("gq"). Super great for keeping comments <80 chars
Comments
[–]
ComputerGuru
2y ago
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?
[–]
srik
2y ago
par tops out at 72 by default afaik, so if you 80 is your preferred limit, I'd suggest `par -w79`
[–]
azeemba
2y ago
What does it use by default?