Skip to content

Commit 42c55fa

Browse files
committed
Apply some clarifications to indentation preferences
1 parent 9c05eaf commit 42c55fa

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/reference/metadata.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ all others are ignored by default.
161161
## Subelements of `settings`
162162

163163
The `settings` element can contain
164-
subelements for different purposes,
164+
sub-elements for different purposes,
165165
which will be grouped in the following sections.
166166

167-
Some subelements have certain functionality associated with them by default,
167+
Some sub-elements have certain functionality associated with them by default,
168168
while others can only be accessed via the [API][].
169169

170170

@@ -175,7 +175,7 @@ Indentation options control aspects of the auto-indentation mechanism.
175175
`increaseIndentPattern`
176176
: *Regex.*
177177
If it matches on the current line,
178-
the next line will be indented one level further.
178+
the following lines will have their indentation level increased by one
179179

180180
```xml
181181
<key>increaseIndentPattern</key>
@@ -185,7 +185,8 @@ Indentation options control aspects of the auto-indentation mechanism.
185185
`decreaseIndentPattern`
186186
: *Regex.*
187187
If it matches on the current line,
188-
the next line will be unindented one level.
188+
this and the following lines
189+
will have their indentation level reduced by one.
189190

190191
```xml
191192
<key>decreaseIndentPattern</key>
@@ -195,7 +196,7 @@ Indentation options control aspects of the auto-indentation mechanism.
195196
`bracketIndentNextLinePattern`
196197
: *Regex.*
197198
If it matches on the current line,
198-
only the next line will be indented one level further.
199+
*only the next non-blank line* will be indented one level further.
199200

200201
```xml
201202
<key>bracketIndentNextLinePattern</key>
@@ -205,7 +206,7 @@ Indentation options control aspects of the auto-indentation mechanism.
205206
`disableIndentNextLinePattern`
206207
: *Regex.*
207208
If it matches on the current line,
208-
the next line will not be indented further.
209+
the next line will *not* be indented further.
209210

210211
```xml
211212
<key>disableIndentNextLinePattern</key>
@@ -258,7 +259,7 @@ and can be accessed from snippets.
258259
Note that shell variables are defined
259260
as dictionaries in an array,
260261
and thus have a different format
261-
from `settings` subelements.
262+
from `settings` sub-elements.
262263

263264
`shellVariables`
264265
: Container for "shell variables".

0 commit comments

Comments
 (0)