Skip to content

Commit

Permalink
Add support for python-lsp-server pyls-isort plugin. (#4163)
Browse files Browse the repository at this point in the history
* Add support for python-lsp-server pyls-isort plugin.

* Spelling fix.
  • Loading branch information
0x6d6e647a authored Sep 5, 2023
1 parent 271525a commit 6cbd592
Showing 1 changed file with 6 additions and 0 deletions.
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 or 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

0 comments on commit 6cbd592

Please sign in to comment.