3 ms·
Unless something drastic happened in this release, I think it's premature to enable autoindent by default. The implementation in 1.14 has been atrociously buggy
by lobster_johnson 9y ago
Unless something drastic happened in this release, I think it's premature to enable autoindent by default. The implementation in 1.14 has been atrociously buggy, and plays badly with undo. (Pasting will add an additional undo entry, so to undo a paste requires two undos.)
In my experience, the autoindenting usually wrong, and my hypothesis is that it's because it uses regexps to determine indentation level, not the AST, which is introducing lots of false positives as well as negatives.