docs: Format "Configuring Zed" docs (#15350)
This PR formats the "Configuring Zed" docs. Release Notes: - N/A
This commit is contained in:
parent
0171b7d53c
commit
53a3d6424f
1 changed files with 19 additions and 14 deletions
|
@ -602,6 +602,7 @@ To override settings for a language, add an entry for that language server's nam
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Or to use multiple formatters consecutively, use an array of formatters:
|
4. Or to use multiple formatters consecutively, use an array of formatters:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"formatter": [
|
"formatter": [
|
||||||
|
@ -613,6 +614,7 @@ To override settings for a language, add an entry for that language server's nam
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Here `rust-analyzer` will be used first to format the code, followed by a call of sed.
|
Here `rust-analyzer` will be used first to format the code, followed by a call of sed.
|
||||||
If any of the formatters fails, the subsequent ones will still be executed.
|
If any of the formatters fails, the subsequent ones will still be executed.
|
||||||
|
|
||||||
|
@ -1653,7 +1655,7 @@ Run the `theme selector: toggle` action in the command palette to see a current
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"auto_reveal_entries": true,
|
"auto_reveal_entries": true
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1661,7 +1663,7 @@ Run the `theme selector: toggle` action in the command palette to see a current
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"auto_reveal_entries": false,
|
"auto_reveal_entries": false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1677,7 +1679,7 @@ Run the `theme selector: toggle` action in the command palette to see a current
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"auto_fold_dirs": true,
|
"auto_fold_dirs": true
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1685,7 +1687,7 @@ Run the `theme selector: toggle` action in the command palette to see a current
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"auto_fold_dirs": false,
|
"auto_fold_dirs": false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1699,10 +1701,13 @@ Run the `theme selector: toggle` action in the command palette to see a current
|
||||||
|
|
||||||
- Description: Scrollbar related settings. Possible values: "always", "never".
|
- Description: Scrollbar related settings. Possible values: "always", "never".
|
||||||
- Setting: `scrollbar`
|
- Setting: `scrollbar`
|
||||||
- Default: ```json
|
- Default:
|
||||||
"scrollbar": {
|
|
||||||
"show": "always"
|
```json
|
||||||
}```
|
"scrollbar": {
|
||||||
|
"show": "always"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
**Options**
|
**Options**
|
||||||
|
|
||||||
|
@ -1710,9 +1715,9 @@ Run the `theme selector: toggle` action in the command palette to see a current
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
"show": "always"
|
"show": "always"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1720,9 +1725,9 @@ Run the `theme selector: toggle` action in the command palette to see a current
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
"show": "never"
|
"show": "never"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue