Skip to content

Commit 99bfa76

Browse files
Alexander Chendatho7561
Alexander Chen
authored andcommitted
documented closingBracketNewLine indent following splitAttributesIndentSize
1 parent 475372e commit 99bfa76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Formatting.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ If it is set to `true`, the above document becomes:
400400

401401
If set to `true`, the closing bracket (`>` or `/>`) of a tag with at least 2 attributes will be put on a new line.
402402

403+
The closing bracket will have the same indentation as the attributes (if any), following the indent level defined by [splitAttributesIndentSize](#xmlformatsplitattributesindentsize).
404+
403405
Requires [splitAttributes](#xmlformatsplitattributes) to be set to `true`.
404406

405407
Defaults to `false`.
@@ -412,5 +414,5 @@ becomes
412414
<a
413415
b=""
414416
c=""
415-
/>
417+
/>
416418
```

0 commit comments

Comments
 (0)