diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 9f0df03b..2f0bc535 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -4,6 +4,7 @@ This server can be configured using `workspace/didChangeConfiguration` method. E | **Configuration Key** | **Type** | **Description** | **Default** |----|----|----|----| | `pylsp.configurationSources` | `array` of unique `string` (one of: `pycodestyle`, `pyflakes`) items | List of configuration sources to use. | `["pycodestyle"]` | +| `pylsp.plugins.autopep8.enabled` | `boolean` | Enable or disable the plugin (disabling required to use `yapf`). | `true` | | `pylsp.plugins.flake8.config` | `string` | Path to the config file that will be the authoritative config source. | `null` | | `pylsp.plugins.flake8.enabled` | `boolean` | Enable or disable the plugin. | `false` | | `pylsp.plugins.flake8.exclude` | `array` of `string` items | List of files or directories to exclude. | `[]` | diff --git a/pylsp/config/schema.json b/pylsp/config/schema.json index 860ccc10..44437807 100644 --- a/pylsp/config/schema.json +++ b/pylsp/config/schema.json @@ -14,6 +14,11 @@ }, "uniqueItems": true }, + "pylsp.plugins.autopep8.enabled": { + "type": "boolean", + "default": true, + "description": "Enable or disable the plugin (disabling required to use `yapf`)." + }, "pylsp.plugins.flake8.config": { "type": ["string", "null"], "default": null,