Wednesday, July 23, 2025

Re: program to indent C code?

On Wed, Jul 23, 2025 at 11:46:35PM +0200, Omar Polo wrote:
> p.s. there's knfmt by anton@ too, but I haven't used it extensively yet
> to comment on it.

knfmt works well so far! thanks!
I can do :%!knfmt and it works nicely from within vi.
(also from commandline.)

Also I just tried astyle and it also chokes on the nested
parens and array literls. (but knfmt doesn't)

thanks,
--
Paul Wisehart

No comments:

Post a Comment