Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for python-lsp-server pyls-isort plugin. #4163

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions clients/lsp-pylsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ Drastically increases startup time."
:type 'boolean
:group 'lsp-pylsp)

(defcustom lsp-pylsp-plugins-isort-enabled nil
"Enable of disable the plugin."
:type 'boolean
:group 'lsp-pylsp)

(defcustom lsp-pylsp-rope-extension-modules nil
"Builtin and c-extension modules that are allowed to be
imported and inspected by rope."
Expand Down Expand Up @@ -393,6 +398,7 @@ So it will rename only references it can find."
("pylsp.plugins.autopep8.enabled" lsp-pylsp-plugins-autopep8-enabled t)
("pylsp.plugins.yapf.enabled" lsp-pylsp-plugins-yapf-enabled t)
("pylsp.plugins.black.enabled" lsp-pylsp-plugins-black-enabled t)
("pylsp.plugins.pyls_isort.enabled" lsp-pylsp-plugins-isort-enabled t)
("pylsp.plugins.rope_autoimport.enabled" lsp-pylsp-plugins-rope-autoimport-enabled t)
("pylsp.plugins.rope_autoimport.memory" lsp-pylsp-plugins-rope-autoimport-memory t)
("pylsp.plugins.rope_completion.enabled" lsp-pylsp-plugins-rope-completion-enabled t)
Expand Down
Loading