gen docs and options
This commit is contained in:
parent
1e7b5cbe9f
commit
c53b92e3fb
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue