julia-vscode / DocumentFormat.jl

Auto-formatter for Julia
Other
62 stars 18 forks source link

whitespace around operators in namedtuples #113

Closed atbug closed 2 years ago

atbug commented 4 years ago

In https://github.com/julia-vscode/DocumentFormat.jl/issues/102, it is decided that the user should have the ability to specify whether white spaces are needed around function keyword arguments. Since nametuples are very similar to function keyword arguments, maybe they should follow the same rule?

Current behavior: white spaces are always added around = in namedtuples.