Add PrettyDiff's bracepadding support

This commit is contained in:
qwemaze 2016-09-15 01:26:46 +05:00
parent 0f82daa55c
commit b1d023a6fe
3 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@
- Closes [#786](https://github.com/Glavin001/atom-beautify/issues/786) YAPF configuration files are ignored.
- Fix phpcbf hanging issue by closing stdin. See [#893](https://github.com/Glavin001/atom-beautify/issues/893)
- Add warning notification when parsing `.jsbeautifyrc` as JSON or YAML fails. See [#1106](https://github.com/Glavin001/atom-beautify/issues/1106)
- Add support for PrettyDiff's *bracepadding* option in JavaScript. See [#1157](https://github.com/Glavin001/atom-beautify/issues/1157)
# v0.29.0
- Closes [#447](https://github.com/Glavin001/atom-beautify/issues/447). Improved Handlebars language support

View File

@ -106,6 +106,10 @@
{
"name": "Louis G Vichy",
"url": "https://github.com/louisgv"
},
{
"name": "Elias Baryshnikov",
"url": "https://github.com/qwemaze"
}
],
"engines": {

View File

@ -41,6 +41,7 @@ module.exports = class PrettyDiff extends Beautifier
false else true
]
ternaryline: "preserve_ternary_lines"
bracepadding: "space_in_paren"
# Apply language-specific options
CSV: true
Coldfusion: true