Skip to content

Commit 38f7161

Browse files
committed
Fix format
1 parent e7588d4 commit 38f7161

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/erlfmt_format.erl‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ to_algebra({attribute, Meta, {atom, _, import}, [Name, {list, Anno, Imports}]})
7878
Doc = call(Meta, [Name, GroupedImports], <<"-import(">>, <<")">>),
7979
combine_comments_with_dot(Meta, Doc);
8080
to_algebra({attribute, Meta, {atom, _, RawName} = Name, [Value]}) when
81-
RawName =:= type; RawName =:= opaque; RawName =:= spec; RawName =:= callback; RawName =:= nominal
81+
RawName =:= type;
82+
RawName =:= opaque;
83+
RawName =:= spec;
84+
RawName =:= callback;
85+
RawName =:= nominal
8286
->
8387
ValueD = next_break_fits(expr_to_algebra(Value), enabled),
8488
Doc = concat([<<"-">>, expr_to_algebra(Name), <<" ">>, ValueD]),

0 commit comments

Comments
 (0)