From aedf6adfba0156be9b805205dfdd0a0df6197d06 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Sun, 21 Feb 2016 17:23:02 -0400 Subject: [PATCH] See #733. Remove dfmt from being default beautifier for D language --- examples/nested-jsbeautifyrc/d/expected/test.d | 13 +++++-------- src/languages/d.coffee | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/examples/nested-jsbeautifyrc/d/expected/test.d b/examples/nested-jsbeautifyrc/d/expected/test.d index 57e453f..315c426 100644 --- a/examples/nested-jsbeautifyrc/d/expected/test.d +++ b/examples/nested-jsbeautifyrc/d/expected/test.d @@ -1,10 +1,7 @@ -class Test +class Test { +private int member; +public auto func ( string str ) { - private int member; - public auto func(string str) - { - import std.stdio; - - writeln("Hello world !"); - } + import std.stdio; writeln("Hello world !"); +} } diff --git a/src/languages/d.coffee b/src/languages/d.coffee index 9215c3f..270ce5d 100644 --- a/src/languages/d.coffee +++ b/src/languages/d.coffee @@ -17,7 +17,7 @@ module.exports = { "d" ] - defaultBeautifier: "dfmt" + defaultBeautifier: "Uncrustify" options: configPath: