Skip to content

Commit

Permalink
Added new formatter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JPinkney committed Sep 26, 2018
1 parent c61ea9e commit ee6b825
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,26 @@
"default": false,
"description": "Enable/disable default YAML formatter (requires restart)"
},
"yaml.format.singleQuote": {
"type": "boolean",
"default": false,
"description": "Use single quotes instead of double quotes"
},
"yaml.format.bracketSpacing": {
"type": "boolean",
"default": true,
"description": "Print spaces between brackets in objects"
},
"yaml.format.proseWrap": {
"type": "string",
"default": "preserve",
"enum": [
"preserve",
"never",
"always"
],
"description": "Always: wrap prose if it exeeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is"
},
"yaml.validate": {
"type": "boolean",
"default": true,
Expand Down

0 comments on commit ee6b825

Please sign in to comment.