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

Commit

Permalink
bump dub & dfmt versions
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed Nov 18, 2021
1 parent 6ea29b1 commit 47ddfcb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
],
"dependencies": {
"workspace-d:dcd": "*",
"dub": "1.24.0",
"dub": "1.26.1",
"painlessjson": "1.4.0",
"standardpaths": "0.8.1",
"dfmt": "0.13.4",
"dfmt": "0.14.1",
"dscanner": "0.11.1",
"inifiled": "1.3.3",
"libdparse": "0.17.0",
Expand Down
6 changes: 5 additions & 1 deletion source/workspaced/com/dfmt.d
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class DfmtComponent : ComponentWrapper
case "keep_line_breaks":
config.dfmt_keep_line_breaks = val;
break;
case "single_indent":
config.dfmt_single_indent = val;
break;
default:
throw new Exception("Invalid command-line switch");
}
Expand Down Expand Up @@ -133,7 +136,8 @@ class DfmtComponent : ComponentWrapper
"space_before_aa_colon", &handleBooleans,
"tab_width", &config.tab_width,
"template_constraint_style", &config.dfmt_template_constraint_style,
"keep_line_breaks", &handleBooleans
"keep_line_breaks", &handleBooleans,
"single_indent", &handleBooleans,
);
//dfmt on
}
Expand Down

0 comments on commit 47ddfcb

Please sign in to comment.