Skip to content

Incorrect indentation with use #38

@mattdeboard

Description

@mattdeboard

elixir-mode seems to think a . in a use expression is the beginning of a new scope and indents accordingly:

defmodule Banana do
  use GenServer.Behaviour

               def elixir_mode_indents_to_here do
                 1 + 1
               end  

In other words, it aligns the next line to the period.

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