3 ms·
I used to pipe to fmt out of Vim quite a bit. The gq reformatting improved so I just use that. It understands comments, e.g. /* long comment ... */ reforma
by kazinator 3y ago
I used to pipe to fmt out of Vim quite a bit. The gq reformatting improved so I just use that. It understands comments, e.g.
/* long comment ... */
reformats to
/* long comment ...
* ...
* .... */
and similarly with other kinds of comments.