Skip to content

Return with multi-line strings indents strangely #227

Closed
@jdufresne

Description

@jdufresne

Observe the following test case:

The buffer has been indented automatically.

<?php


function my_other_func() {
    return "anoter really long string " .
                                        "some more text";
}

function my_func() {
    return "a really long string with = inside " .
                                      "some more text";
}

I would expect the second line of the strings to:

  1. Indent consistently (the = messes with things)
  2. Indent simply by c-basic-offset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions