Skip to content

Commit ee6b825

Browse files
committed
Added new formatter settings
1 parent c61ea9e commit ee6b825

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,26 @@
8888
"default": false,
8989
"description": "Enable/disable default YAML formatter (requires restart)"
9090
},
91+
"yaml.format.singleQuote": {
92+
"type": "boolean",
93+
"default": false,
94+
"description": "Use single quotes instead of double quotes"
95+
},
96+
"yaml.format.bracketSpacing": {
97+
"type": "boolean",
98+
"default": true,
99+
"description": "Print spaces between brackets in objects"
100+
},
101+
"yaml.format.proseWrap": {
102+
"type": "string",
103+
"default": "preserve",
104+
"enum": [
105+
"preserve",
106+
"never",
107+
"always"
108+
],
109+
"description": "Always: wrap prose if it exeeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is"
110+
},
91111
"yaml.validate": {
92112
"type": "boolean",
93113
"default": true,

0 commit comments

Comments
 (0)