russellw / scheme-format

Format Scheme source code
MIT License
8 stars 2 forks source link

Make formatting configurable #2

Open everythingfunctional opened 7 years ago

everythingfunctional commented 7 years ago

Any chance you could make the formatting somewhat configurable? I would prefer that, if an expression doesn't fit on a line, that the operands are aligned, one per line.

russellw commented 7 years ago

I have no objection to the formatting being configurable; that's certainly a reasonable preference. I'm not actually working on the program at the moment because I'm not currently using Scheme, but I'd be happy to accept a pull request.

On Tue, Mar 14, 2017 at 4:25 AM, bprichar notifications@github.com wrote:

Any chance you could make the formatting somewhat configurable? I would prefer that, if an expression doesn't fit on a line, that the operands are aligned, one per line.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/russellw/scheme-format/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AASSrDJM2wdlBi1M0WpEu2-lgH0wnLmtks5rlhbKgaJpZM4McHPr .

everythingfunctional commented 7 years ago

I'm working through SICP right now, so I don't know that I'm quite ready to dig into it just yet. As I get better at Scheme I'll look more into it. I came across your question on Stack Overflow and was hoping this was what I needed. It's close, and I'm sure I'll get frustrated enough with manually indenting my code all the time that I'll come back here and make the necessary changes.