Skip to content

Allow clients to disable the built-in Jedi plugins together - #741

Open
Boulea7 wants to merge 1 commit into
python-lsp:developfrom
Boulea7:feat/707-disable-jedi-features
Open

Boulea7 wants to merge 1 commit into
python-lsp:developfrom
Boulea7:feat/707-disable-jedi-features

Conversation

@Boulea7

@Boulea7 Boulea7 commented Dec 3, 2026

Copy link
Copy Markdown

Closes #707

pylsp.plugins.jedi.enabled now controls the nine built-in Jedi plugins together. It defaults to true, so each plugin can still be configured individually. A client can set it to false when another language server handles completion and navigation, and keep pylsp for formatting.

I attached Zuban and pylsp to the same Python buffer in Neovim. Both servers initially suggested upper and returned the same definition and two reference locations for a local function. With the switch off, Zuban supplied those results once and pylsp still formatted the buffer with Black. I also checked isort through stdio and re-enabled Jedi during the session. An independent test exercised a third-party completion plugin on ordinary Python files and notebook cells. The full test suite passed on Python 3.12 and 3.14, and the new regression passed on Python 3.9 with Jedi 0.17.2.

Implemented and tested with OpenAI Codex (GPT-6.2 Astra).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature request] make it possible to disable jedi

1 participant