set_line_break_before_closing_call: Like 'styler:::set_line_break_before_closing_call()' but only...

View source: R/rules-line-break.R

set_line_break_before_closing_callR Documentation

Like styler:::set_line_break_before_closing_call() but only adding a line break if multi-line function call and the token before the closing brace is a curly brace (otherwise indention does not work nicely).

Description

Like styler:::set_line_break_before_closing_call() but only adding a line break if multi-line function call and the token before the closing brace is a curly brace (otherwise indention does not work nicely).

Usage

set_line_break_before_closing_call(pd, except_token_before)

mlr-org/styler.mlr documentation built on Nov. 10, 2024, 12:36 a.m.