reasonml / reason

Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
http://reasonml.github.io
MIT License
10.13k stars 430 forks source link

indentation is a bit jarring with ## #= and anonymous function #1566

Open bsansouci opened 7 years ago

bsansouci commented 7 years ago

This is what refmt gives me

great##runAllTests#=(
                       () => {
                         test1();
                         test2()
                       }
                     );
anmonteiro commented 3 months ago
great##runAllTests
#= (
     () => {
       test1();
       test2();
     }
   );

still not great