Open janos-r opened 1 week ago
@bartlomieju I was investigating this problem and noticed that the indent_width parameter seems to be fixed at 2. This conclusion is based on the attached code, which includes the dprint.json file from the dprint-plugin-markdown repository.
@MohammadSu1 this file seems to be unrelated to the problem - it's the configuration for the project itself. The problem seems to be that https://github.com/dprint/dprint-plugin-markdown/blob/main/src/configuration/builder.rs#L25 doesn't support configuring indentation width.
Version: deno 2.0.6 The default indentation is 2, but it should be possible to change it with --indent-width.
The default 2 correctly complains about a width of 4
But when even when I set it to 4, it still complains
If I set it to any other number, it still thinks that the correct width is the default 2