chore: generate
This commit is contained in:
@@ -1592,6 +1592,9 @@ export type Config = {
|
|||||||
enabled: boolean
|
enabled: boolean
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides.
|
||||||
|
*/
|
||||||
formatter?:
|
formatter?:
|
||||||
| boolean
|
| boolean
|
||||||
| {
|
| {
|
||||||
@@ -1604,6 +1607,9 @@ export type Config = {
|
|||||||
extensions?: Array<string>
|
extensions?: Array<string>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides.
|
||||||
|
*/
|
||||||
lsp?:
|
lsp?:
|
||||||
| boolean
|
| boolean
|
||||||
| {
|
| {
|
||||||
|
|||||||
@@ -11928,6 +11928,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"formatter": {
|
"formatter": {
|
||||||
|
"description": "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides.",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
@@ -11970,6 +11971,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lsp": {
|
"lsp": {
|
||||||
|
"description": "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides.",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
|||||||
@@ -80,12 +80,12 @@ Use an object to keep built-ins enabled while configuring overrides or custom fo
|
|||||||
|
|
||||||
Each formatter configuration supports the following:
|
Each formatter configuration supports the following:
|
||||||
|
|
||||||
| Property | Type | Description |
|
| Property | Type | Description |
|
||||||
| ------------- | -------- | ------------------------------------------------------- |
|
| ------------- | -------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `disabled` | boolean | Set this to `true` to disable the formatter |
|
| `disabled` | boolean | Set this to `true` to disable the formatter |
|
||||||
| `command` | string[] | The command to run for formatting. Required for custom formatters; optional for built-ins. |
|
| `command` | string[] | The command to run for formatting. Required for custom formatters; optional for built-ins. |
|
||||||
| `environment` | object | Environment variables to set when running the formatter |
|
| `environment` | object | Environment variables to set when running the formatter |
|
||||||
| `extensions` | string[] | File extensions this formatter should handle |
|
| `extensions` | string[] | File extensions this formatter should handle |
|
||||||
|
|
||||||
Let's look at some examples.
|
Let's look at some examples.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user