diff --git a/README.md b/README.md index 14f3bdb3..9366db1b 100755 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ The following settings are supported: * `yaml.format.bracketSpacing`: Print spaces between brackets in objects * `yaml.format.proseWrap`: Always: wrap prose if it exeeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is * `yaml.format.printWidth`: Specify the line length that the printer will wrap on +* `yaml.format.doNotIndent`: Enabled do-not-indent style for sequence in mapping +* `yaml.format.commentSpacesFromContent`: Specify the amount of spaces before content and trailing comments on line * `yaml.validate`: Enable/disable validation feature * `yaml.hover`: Enable/disable hover * `yaml.completion`: Enable/disable autocompletion diff --git a/package.json b/package.json index 7f16c53a..04ccfcd5 100755 --- a/package.json +++ b/package.json @@ -119,6 +119,16 @@ "default": 80, "description": "Specify the line length that the printer will wrap on" }, + "yaml.format.doNotIndent": { + "type": "boolean", + "default": false, + "description": "Enabled do-not-indent style for sequence in mapping" + }, + "yaml.format.commentSpacesFromContent": { + "type": "integer", + "default": 1, + "description": "Specify the amount of spaces before content and trailing comments on line" + }, "yaml.validate": { "type": "boolean", "default": true, @@ -201,7 +211,7 @@ "eslint-plugin-prettier": "^3.1.4", "glob": "^7.1.6", "mocha": "^8.0.1", - "prettier": "^2.0.5", + "prettier": "^2.4.0", "rimraf": "^3.0.2", "sinon": "^9.0.3", "sinon-chai": "^3.5.0",