Skip to content

Discretionary line break overridden #470

Open
@dabrahams

Description

@dabrahams

Description

Even though I have

  "respectsExistingLineBreaks" : true,

in my configuration, swift format undoes the line break in this case (and de-indents the where clause)

public func sourceFiles<S: Collection>(in sourcePaths: S) throws -> [SourceFile]
  where S.Element == URL
{
  return try sourceFilePaths(in: sourcePaths).map(SourceFile.init)
}

Steps to Reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions