Skip to content

Indent struct properties with names of reserved words properly #170

@cs-victor-nascimento

Description

@cs-victor-nascimento

Just stumbled upon this tricky one when using s %ExUnit.Test{} struct. When I try to access the 'case' property it thinks its the start of a case expression and indents the next line as if it were inside the case expression.

For example, try this (don't mind my noobines in Elixir \o/):

screenshot from 2015-02-03 10 51 31

This may be tricky to get right. =/

Anyway, thanks for this great mode :D

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