+4

Improper indentation breaks code folding

whee 12 років тому оновлено adzenith 12 років тому 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?