Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

over-indents in else block when function split over multiple lines #384

Open
jmitchell opened this issue Dec 28, 2016 · 0 comments
Open

Comments

@jmitchell
Copy link

The do_something function call should align vertically with the :ignore_me in the if block. When all the arguments are on the same line it works as expected, but for long function calls split over multiple lines it over-indents.

Expected behavior:

    if abc do
      :ignore_me
    else
      do_something(x,
        y)
    end

Actual behavior:

    if abc do
      :ignore_me
    else
        do_something(x,
          y)
    end

Versions

os: Ubuntu 16.04.1
elixir-mode: 20161015.1200
emacs: GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-11-15

J3RN pushed a commit to J3RN/emacs-elixir that referenced this issue Apr 24, 2021
* Add auto publish release with asset

* set to draft

* Lower version

Co-authored-by: Jason Axelson <axelson@users.noreply.github.com>

* Remove otp suffix

it's automatically detected by the setup action from the otp version

* build with all versions

* add default build

Co-authored-by: Jason Axelson <axelson@users.noreply.github.com>
J3RN pushed a commit to J3RN/emacs-elixir that referenced this issue Apr 24, 2021
J3RN pushed a commit to J3RN/emacs-elixir that referenced this issue Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant