Skip to content

Commit 8eaec15

Browse files
Use true/false rather than Yes/No as boolean values in example config snippets (#127)
YAML 1.1 accepts both, but YAML 1.2 only accepts true/false. Our config parser uses YAML 1.1, but some popular validator tools (like RedHat's vscode-yaml) default to validating against YAML 1.2. Our examples might as well use the more widely accepted syntax.
1 parent 342e3e5 commit 8eaec15

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

config.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ code completions of standard library symbols on an empty file). Sample block
224224

225225
```
226226
Index:
227-
StandardLibrary: Yes
227+
StandardLibrary: true
228228
```
229229
230230
## Style
@@ -431,12 +431,12 @@ Configures the behaviour of the inlay-hints feature. Sample block (default):
431431

432432
```yaml
433433
InlayHints:
434-
BlockEnd: No
435-
Designators: Yes
436-
Enabled: Yes
437-
ParameterNames: Yes
438-
DeducedTypes: Yes
439-
DefaultArguments: No
434+
BlockEnd: false
435+
Designators: true
436+
Enabled: true
437+
ParameterNames: true
438+
DeducedTypes: true
439+
DefaultArguments: false
440440
TypeNameLimit: 24
441441
```
442442

@@ -502,7 +502,7 @@ Configures contents of the hover cards. Sample block (default):
502502

503503
```yaml
504504
Hover:
505-
ShowAKA: No
505+
ShowAKA: false
506506
```
507507
508508
### ShowAKA

0 commit comments

Comments
 (0)