Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.

Commit 47ddfcb

Browse files
committed
bump dub & dfmt versions
1 parent 6ea29b1 commit 47ddfcb

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

dub.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
],
99
"dependencies": {
1010
"workspace-d:dcd": "*",
11-
"dub": "1.24.0",
11+
"dub": "1.26.1",
1212
"painlessjson": "1.4.0",
1313
"standardpaths": "0.8.1",
14-
"dfmt": "0.13.4",
14+
"dfmt": "0.14.1",
1515
"dscanner": "0.11.1",
1616
"inifiled": "1.3.3",
1717
"libdparse": "0.17.0",

source/workspaced/com/dfmt.d

+5-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ class DfmtComponent : ComponentWrapper
104104
case "keep_line_breaks":
105105
config.dfmt_keep_line_breaks = val;
106106
break;
107+
case "single_indent":
108+
config.dfmt_single_indent = val;
109+
break;
107110
default:
108111
throw new Exception("Invalid command-line switch");
109112
}
@@ -133,7 +136,8 @@ class DfmtComponent : ComponentWrapper
133136
"space_before_aa_colon", &handleBooleans,
134137
"tab_width", &config.tab_width,
135138
"template_constraint_style", &config.dfmt_template_constraint_style,
136-
"keep_line_breaks", &handleBooleans
139+
"keep_line_breaks", &handleBooleans,
140+
"single_indent", &handleBooleans,
137141
);
138142
//dfmt on
139143
}

0 commit comments

Comments
 (0)