Skip to content

No line-break before |and & should be allowed #563

@lorenzwalthert

Description

@lorenzwalthert

Or, if allowed, it should have indention.

styler::style_text(
  'x[a ==3
   | b == v,]'
)
#> x[a == 3
#> | b == v, ]

Created on 2019-11-15 by the reprex package (v0.3.0)

Note this does not happen when a | expression is top-level. The same with &.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions