Is there something that can auto format / pretty nim source code?

I am looking for some thing like go format or clang-format. I basically don't 
want to have formatting discussions ever again. An auto mated tool should just 
do it all. I don't even want configuration options, just that it should look 
like nim standard.

Does not look like there is some thing like this. What is the best way to write 
some thing like this? Using compiler/parser, compiler/renderer?

Some some started some thing like this before: 
[https://github.com/def-/nimfmt/blob/master/nimfmt.nim](https://github.com/def-/nimfmt/blob/master/nimfmt.nim)

Is this a valid way of doing it? 

Reply via email to