Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Indentation breaks on line breaks of macros

Open
#558 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
elixir, vim
Domain
tooling

Research direction

Reproduce the two macro and test examples in Vim, then inspect the vim-elixir indentation configuration that handles line breaks. Done means continuation lines match the expected indentation in both examples without breaking existing Elixir indentation behavior.

Written by the indexing model from the issue text.

Description

Actual

  plug FooWeb.Foo,
    [params: [:id]] when action in [:a, :b]

Expected

  plug FooWeb.Foo,
       [params: [:id]] when action in [:a, :b]

Actual

    test "very long line",
         %{foo: "bar"} do
           # new line starts here

Expected

    test "very long line",
         %{foo: "bar"} do
      # new line should actually start here
Dominant language
Ruby
Stars
1.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elixir-editors/vim-elixir

All issues in elixir-editors/vim-elixir

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.