Open strugee opened 8 years ago
Given the following unindented code:
function foo() { readableStream.pipe(throughStream) .pipe(writableStream); }
the correct indentation with smart-tabs-mode enabled is:
function foo() { <tab>readableStream.pipe(throughStream) <tab> .pipe(writableStream); }
i.e. the .s should line up. (This pattern is quite common in Node programs.)
.
However, smart-tabs-mode indents this as:
function foo() { <tab>readableStream.pipe(throughStream) <tab><tab>.pipe(writableStream); }
Which is obviously incorrect.
Given the following unindented code:
the correct indentation with smart-tabs-mode enabled is:
i.e. the
.
s should line up. (This pattern is quite common in Node programs.)However, smart-tabs-mode indents this as:
Which is obviously incorrect.