davidvarga / MBeautifier

MBeautifier is a MATLAB source code formatter, beautifier. It can be used directly in the MATLAB Editor and it is configurable.
GNU General Public License v3.0
483 stars 77 forks source link

Broken formatting #90

Closed VorpalBlade closed 4 years ago

VorpalBlade commented 4 years ago
Mr = @(lambda) ([cos(lambda), sin(lambda); -sin(lambda), cos(lambda)]);

now turns into

Mr = @(lambda) ([cos, (lambda), sin, (lambda); -sin, (lambda), cos, (lambda)]);

The recent fix for list concatenations likely broke this.

davidvarga commented 4 years ago

Hi,

yeah you are right - actually my fix of the bug introduced by this commit causing this.

I try to revert "my fix" and patch up the original commit.

davidvarga commented 4 years ago

It should be fixed for now.