File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed
Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 377377 (smie-rule-parent elixir-smie-indent-basic)
378378 (if (elixir-smie-last-line-start-with-block-operator-p)
379379 (smie-rule-parent -2 )
380- (smie-rule-parent ))))))
380+ (smie-rule-parent ))))
381+ ((and (smie-rule-parent-p " OP" )
382+ (smie-rule-hanging-p ))
383+ (smie-rule-parent ))))
381384 (`(:after . " {" )
382385 (cond
383386 ((smie-rule-hanging-p )
Original file line number Diff line number Diff line change @@ -1184,7 +1184,8 @@ defmodule Foo do
11841184end
11851185" )
11861186
1187- (elixir-def-indentation-test complex-case-with-matches (:tags '(indentation))
1187+ (elixir-def-indentation-test complex-case-with-matches
1188+ (:tags '(indentation))
11881189"
11891190case parse do
11901191{ [ help: true ], _, _ }
@@ -1207,7 +1208,8 @@ case parse do
12071208end" )
12081209
12091210
1210- (elixir-def-indentation-test complex-case-with-matches/2 (:tags '(indentation))
1211+ (elixir-def-indentation-test complex-case-with-matches/2
1212+ (:tags '(indentation))
12111213"
12121214case parse do
12131215{ [ help: true ], _, _ }
@@ -1229,6 +1231,24 @@ case parse do
12291231 _ -> :help
12301232end" )
12311233
1234+ (elixir-def-indentation-test close-map-curly-brackt
1235+ (:tags '(indentation))
1236+ "
1237+ config = %{
1238+ async_cases: [],
1239+ exclude: opts[:exclude],
1240+ include: opts[:include],
1241+ timeout: opts[:timeout],
1242+ trace: opts[:trace]
1243+ }"
1244+ "
1245+ config = %{
1246+ async_cases: [],
1247+ exclude: opts[:exclude],
1248+ include: opts[:include],
1249+ timeout: opts[:timeout],
1250+ trace: opts[:trace]
1251+ }" )
12321252
12331253; ; We don't want automatic whitespace cleanup here because of the significant
12341254; ; whitespace after `Record' above. By setting `whitespace-action' to nil,
You can’t perform that action at this time.
0 commit comments