v0.4.3
Fixed
- Trailing comma inside delimiters — Pressing Enter after a line ending with a trailing comma inside
{},[], or()no longer adds an extra indent level. Added delimiter-depth detection so the continuation-indent logic defers todelimitedIndentinside brackets. - String interpolation false positive — The continuation regex's trailing-comment capture
(#.*)?$was matching#{interpolation}inside strings as a comment, causing lines like"Hello, #{@name}!"to be treated as trailing-comma continuations. Fixed by excluding#{from the comment pattern.
Added
- 14 new indent test cases (section 33 + unskipped 28b) covering hashes, arrays, method args, nested constructs, bare call continuations, and interpolated strings
Full Changelog: v0.4.2...v0.4.3