Skip to content

Commit

Permalink
Add soft line breaks in external calls
Browse files Browse the repository at this point in the history
It also fixes wrapping inside matrix row.
  • Loading branch information
ErykMroczek committed Oct 13, 2023
1 parent 9ed5d7c commit eb8961e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mofmt/parsing/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
Modelica.RULE_if_expression,
Modelica.RULE_inheritance_modification,
Modelica.RULE_array_subscripts,
Modelica.RULE_expression_list,
)

INDENT_AT = (
Expand Down Expand Up @@ -56,6 +57,7 @@
Modelica.RULE_else_eval,
Modelica.RULE_conditional_expression,
Modelica.RULE_for_initializer,
Modelica.RULE_expression_list_member,
)

BLANK_BEFORE = (
Expand Down

0 comments on commit eb8961e

Please sign in to comment.