+4

Improper indentation breaks code folding

whee 12 years ago updated by adzenith 12 years ago 1
int foo(void) {

int quux = 2;
// comment, indented one space less than it should be
return quux;
}

will fold to

int foo(void) { [...]

// comment, indented one space less than it should be
return quux;
}
Could the folder just pay attention to the fold markers in the tmlanguage?