Set line break for multi-line function calls

set_line_break_after_opening_if_call_is_multi_line(pd,
  except_token_after = NULL, except_text_before = NULL)

set_line_break_before_closing_if_call_is_multi_line(pd)

remove_line_break_in_empty_fun_call(pd)

Arguments

pd

A parse table.

except_token_after

A character vector with tokens after "'('" that do not cause a line break after "'('".

except_text_before

A character vector with texts before "'('" that do not cause a line break after "'('".

Functions

  • set_line_break_after_opening_if_call_is_multi_line: Sets line break after opening parenthesis.

  • set_line_break_before_closing_if_call_is_multi_line: Sets line break before closing parenthesis.