diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 5a5a228d..b4089976 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -19,7 +19,7 @@ This server can be configured using the `workspace/didChangeConfiguration` metho | `pylsp.plugins.flake8.indentSize` | `integer` | Set indentation spaces. | `null` | | `pylsp.plugins.flake8.perFileIgnores` | `array` of `string` items | A pairing of filenames and violation codes that defines which violations to ignore in a particular file, for example: `["file_path.py:W305,W304"]`). | `[]` | | `pylsp.plugins.flake8.select` | `array` of unique `string` items | List of errors and warnings to enable. | `null` | -| `pylsp.plugins.jedi.auto_import_modules` | `array` of `string` items | List of module names for jedi.settings.auto_import_modules. | `["numpy"]` | +| `pylsp.plugins.jedi.auto_import_modules` | `array` of `string` items | Modules Jedi imports for runtime introspection. To complete submodule names in statements such as `import numpy.polynomial.`, remove `numpy` from the list (use `[]` if it is the only entry). Jedi then analyzes NumPy statically and may lose docstrings for universal functions such as `numpy.cosh`. | `["numpy"]` | | `pylsp.plugins.jedi.extra_paths` | `array` of `string` items | Define extra paths for jedi.Script. | `[]` | | `pylsp.plugins.jedi.prioritize_extra_paths` | `boolean` | Whether to place extra_paths at the beginning (true) or end (false) of `sys.path` | `false` | | `pylsp.plugins.jedi.env_vars` | `object` | Define environment variables for jedi.Script and Jedi.names. | `null` | diff --git a/pylsp/config/schema.json b/pylsp/config/schema.json index e14daa20..9ff18f13 100644 --- a/pylsp/config/schema.json +++ b/pylsp/config/schema.json @@ -144,7 +144,7 @@ "items": { "type": "string" }, - "description": "List of module names for jedi.settings.auto_import_modules." + "description": "Modules Jedi imports for runtime introspection. To complete submodule names in statements such as `import numpy.polynomial.`, remove `numpy` from the list (use `[]` if it is the only entry). Jedi then analyzes NumPy statically and may lose docstrings for universal functions such as `numpy.cosh`." }, "pylsp.plugins.jedi.extra_paths": { "type": "array",