Skip to content

Commit d1dcb9c

Browse files
rephrase
1 parent ffa6792 commit d1dcb9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/ROOT/pages/styleguide.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ RETURN
181181
END AS ageGroup
182182
----
183183

184-
* Lines that end with a list or map literal and do not fit within the maximum width should leave the opening bracket or brace on the preceding line.
185-
The contents of the literal should be indented two additional spaces from the line where the opening bracket or brace appears.
184+
* When a line ends with a list or map literal that does not fit within the maximum line width, place the opening bracket or brace on the same line as the clause that introduces it.
185+
Start each element of the literal on a new line, indented two spaces further than the line containing the opening bracket or brace.
186+
Close the literal at the original indentation level.
186187

187188
.Bad
188189
[source, cypher]

0 commit comments

Comments
 (0)