Indentation breaks on line breaks of macros
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elixir-editors/vim-elixir
-
bug syntax
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
elixir-editors/vim-elixir#574 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
elixir-editors/vim-elixir#569 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
elixir-editors/vim-elixir#567 · 4 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
elixir-editors/vim-elixir#565 · 2 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 28/100
elixir-editors/vim-elixir#564 · 1 comment ·
All issues in elixir-editors/vim-elixir
Similar issues
-
security
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CircuitVerse/CircuitVerse#7967 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
simp/pupmod-simp-stunnel#173 ·
-
Polish QDrantOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
o19s/quepid#1825 · 1 comment ·
Maintainers usually reply within 1 day