File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ function! elixir#indent#handle_inside_block(context)
265
265
let config = {
266
266
\' f ' : {' aligned_clauses' : s:keyword(' end ' ), ' pattern_match_clauses': never_match},
267
267
\' c ' : {' aligned_clauses' : s:keyword(' end ' ), ' pattern_match_clauses': never_match},
268
- \' t ' : {' aligned_clauses' : s:keyword(' end \| catch \| rescue\| after' ), ' pattern_match_clauses' : s:keyword(' catch \| rescue')},
268
+ \' t ' : {' aligned_clauses' : s:keyword(' end \| catch \| rescue\| after\| else ' ), ' pattern_match_clauses' : s:keyword(' catch \| rescue\| else ')},
269
269
\' r ' : {' aligned_clauses' : s:keyword(' end \| after' ), ' pattern_match_clauses' : s:keyword(' after')},
270
270
\' i ' : {' aligned_clauses' : s:keyword(' end \| else ' ), ' pattern_match_clauses': never_match},
271
271
\' [' : {' aligned_clauses' : ' ]' , ' pattern_match_clauses': never_match},
Original file line number Diff line number Diff line change 30
30
end
31
31
end
32
32
EOF
33
+
34
+ i <<~EOF
35
+ try do
36
+ foo()
37
+ else
38
+ value -> value
39
+ end
40
+ EOF
33
41
end
You can’t perform that action at this time.
0 commit comments