Skip to content

Commit 970c5da

Browse files
committed
Add settings to schema
1 parent e8c9110 commit 970c5da

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CONFIGURATION.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This server can be configured using `workspace/didChangeConfiguration` method. E
1212
| `pylsp.plugins.jedi_completion.include_class_objects` | `boolean` | Adds class objects as a separate completion item. | `true` |
1313
| `pylsp.plugins.jedi_completion.fuzzy` | `boolean` | Enable fuzzy when requesting autocomplete. | `false` |
1414
| `pylsp.plugins.jedi_completion.eager` | `boolean` | Resolve documentation and detail eagerly. | `false` |
15+
| `pylsp.plugins.jedi_completion.resolve_at_most_labels` | `number` | How many labels (at most) should be resolved? | `false` |
1516
| `pylsp.plugins.jedi_definition.enabled` | `boolean` | Enable or disable the plugin. | `true` |
1617
| `pylsp.plugins.jedi_definition.follow_imports` | `boolean` | The goto call will follow imports. | `true` |
1718
| `pylsp.plugins.jedi_definition.follow_builtin_imports` | `boolean` | If follow_imports is True will decide if it follow builtin imports. | `true` |
@@ -44,6 +45,7 @@ This server can be configured using `workspace/didChangeConfiguration` method. E
4445
| `pylsp.plugins.pylint.args` | `array` of non-unique `string` items | Arguments to pass to pylint. | `null` |
4546
| `pylsp.plugins.pylint.executable` | `string` | Executable to run pylint with. Enabling this will run pylint on unsaved files via stdin. Can slow down workflow. Only works with python3. | `null` |
4647
| `pylsp.plugins.rope_completion.enabled` | `boolean` | Enable or disable the plugin. | `true` |
48+
| `pylsp.plugins.rope_completion.eager` | `boolean` | Resolve documentation and detail eagerly. | `false` |
4749
| `pylsp.plugins.yapf.enabled` | `boolean` | Enable or disable the plugin. | `true` |
4850
| `pylsp.rope.extensionModules` | `string` | Builtin and c-extension modules that are allowed to be imported and inspected by rope. | `null` |
4951
| `pylsp.rope.ropeFolder` | `array` of unique `string` items | The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all. | `null` |

pylsp/config/schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
"default": false,
5555
"description": "Resolve documentation and detail eagerly."
5656
},
57+
"pylsp.plugins.jedi_completion.resolve_at_most_labels": {
58+
"type": "number",
59+
"default": false,
60+
"description": "How many labels (at most) should be resolved?"
61+
},
5762
"pylsp.plugins.jedi_definition.enabled": {
5863
"type": "boolean",
5964
"default": true,
@@ -258,6 +263,11 @@
258263
"default": true,
259264
"description": "Enable or disable the plugin."
260265
},
266+
"pylsp.plugins.rope_completion.eager": {
267+
"type": "boolean",
268+
"default": false,
269+
"description": "Resolve documentation and detail eagerly."
270+
},
261271
"pylsp.plugins.yapf.enabled": {
262272
"type": "boolean",
263273
"default": true,

0 commit comments

Comments
 (0)