JuliaFormatter.jl
                                
                                 JuliaFormatter.jl copied to clipboard
                                
                                    JuliaFormatter.jl copied to clipboard
                            
                            
                            
                        `indent_submodule = true` fails to have an effect
This is with v2.1.2 of JuliaFormatter.
julia> using JuliaFormatter
 
julia> s = """
       module A
       module B
       c = 7
       end
       end
       """
"module A\nmodule B\nc = 7\nend\nend\n"
 
julia> print(format_text(s; indent_submodule = true))
module A
module B
    c = 7
end
end
Expected output:
module A
    module B
        c = 7
    end
end