sorawee / fmt

A code formatter for Racket
Other
72 stars 6 forks source link

conventions: add format-for-like, and format for/async, for/list/concurrent #38

Closed Bogdanp closed 2 years ago

Bogdanp commented 2 years ago

format-for-like handles keyword arguments before the for-clause groups.

I kind of winged this without fully grokking everything, so there may be better ways to achieve the same thing. Also, this is biased towards the way emacs indents these things, which is different from the way drracket does (it doesn't vertically align the keywords and the clause groups).

sorawee commented 2 years ago

Thank you so much!