Skip to content

Continuation line width starting from wrong point #261

@Mayron

Description

@Mayron

I'm not sure what option I need to change or if it's a missing feature but the arguments passed to a function call are being placed relative to the function call's opening ( bracket and not the statement.

For example, after formatting I get this:

function Module:DeleteProfile(profileName)
  local popupMessage = string.format(
                         L["Are you sure you want to delete profile '%s'?"],
                         profileName);
  -- other code removed for brevity
end

However, I'd prefer this:

function Module:DeleteProfile(profileName)
  local popupMessage = string.format(
    L["Are you sure you want to delete profile '%s'?"],
    profileName);
  -- other code removed for brevity
end

I have the indentation set to 2 spaces. I'd prefer those 2 indented spaces to be relative to the statematement. Does this make sense? Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions