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

Indentation in eelixir template

Open
#276 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
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
elixir, vim
Domain
tooling

Research direction

Start by locating the Vim Elixir template indentation logic and reproduce the multiline template example from the issue. Compare the generated indentation with the Expected and Actual blocks; the work is done when the continuation lines and closing marker match the expected formatting.

Written by the indexing model from the issue text.

Description

bug eex indent with-test-case

Indentation in multi-line elixir in template is incorrect

Expected

<div>
    <%= render Foo.BarView,
               "template",
               a: a,
               b: b
    %>
</div

Actual

<div>
    <%= render Foo.BarView
"template.html",
a: a,
b: b
%>
</div>
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.