feat: add `dfmt_selective_import_space`

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
This commit is contained in:
Prajwal S N 2023-11-23 00:11:24 +05:30
parent 62e47bb5d4
commit b4e36d998b
No known key found for this signature in database
GPG Key ID: 60701A603988FAC2
1 changed files with 3 additions and 1 deletions

View File

@ -2827,7 +2827,9 @@ extern (C++) class FormatVisitor : SemanticTimeTransitiveVisitor
write(imp.id.toString());
if (imp.names.length)
{
write(" : ");
if (config.dfmt_selective_import_space)
write(' ');
write(": ");
foreach (const i, const name; imp.names)
{
if (i)