Skip to content

Fix indentation of if within an else #288

@gausby

Description

@gausby

An if within an else will not indent correctly:

Current

if condition do
  :foo
else
if condition, do: :bar
end

Expected:

if condition do
  :foo
else
  if condition, do: :bar
end

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