gen docs and options

This commit is contained in:
hxsf 2017-04-25 14:40:27 +08:00
parent 1e7b5cbe9f
commit c53b92e3fb
2 changed files with 66 additions and 0 deletions

View File

@ -7633,6 +7633,7 @@ Maximum amount of characters per line (0 = disable) (Supported by Pretty Diff)
| `disabled` | :white_check_mark: |
| `default_beautifier` | :white_check_mark: |
| `beautify_on_save` | :white_check_mark: |
| `do_not_change_whitespace` | :white_check_mark: |
**Description**:
@ -7693,6 +7694,30 @@ Automatically beautify Lua files on save
2. Go into *Packages* and search for "*Atom Beautify*" package.
3. Find the option "*Beautify On Save*" and change it to your desired configuration.
##### [Do not change whitespace](#do-not-change-whitespace)
**Namespace**: `lua`
**Key**: `do_not_change_whitespace`
**Type**: `boolean`
**Supported Beautifiers**: [`Lua beautifier`](#lua-beautifier)
**Description**:
do not adjust whitespace (Supported by Lua beautifier)
**Example `.jsbeautifyrc` Configuration**
```json
{
"lua": {
"do_not_change_whitespace": false
}
}
```
#### [Markdown](#markdown)
**Supported Beautifiers**: [`Remark`](#remark) [`Tidy Markdown`](#tidy-markdown)
@ -16775,6 +16800,33 @@ undefined (Supported by Latex Beautify)
```
### Lua beautifier
##### [Do not change whitespace](#do-not-change-whitespace)
**Namespace**: `lua`
**Key**: `do_not_change_whitespace`
**Type**: `boolean`
**Supported Beautifiers**: [`Lua beautifier`](#lua-beautifier)
**Description**:
do not adjust whitespace (Supported by Lua beautifier)
**Example `.jsbeautifyrc` Configuration**
```json
{
"lua": {
"do_not_change_whitespace": false
}
}
```
### Marko Beautifier
##### [Indent size](#indent-size)

View File

@ -4567,6 +4567,20 @@
"lua"
],
"properties": {
"do_not_change_whitespace": {
"type": "boolean",
"default": false,
"description": "do not adjust whitespace (Supported by Lua beautifier)",
"title": "Do not change whitespace",
"beautifiers": [
"Lua beautifier"
],
"key": "do_not_change_whitespace",
"language": {
"name": "Lua",
"namespace": "lua"
}
},
"disabled": {
"title": "Disable Beautifying Language",
"order": -3,