idanarye / vim-dutyl

Coordinate D tools to work together for you
http://www.vim.org/scripts/script.php?script_id=5003
79 stars 13 forks source link

Wrong indentation #16

Open idanarye opened 9 years ago

idanarye commented 9 years ago

Before:

void foo() {
    bar({
        if (true) {
            baz();
        }
    });
}

after aligning the entire file:

void foo() {
    bar({
        if (true) {
            baz();
        }
    });
    }

dfmt version: dfmt 0.4.0-beta

idanarye commented 9 years ago

https://github.com/Hackerpilot/dfmt/issues/166