From 93451389390bee4c66b4c4ee341ef1ef4f87c315 Mon Sep 17 00:00:00 2001 From: Anthony Mendez <738092+0x6d6e647a@users.noreply.github.com> Date: Tue, 5 Sep 2023 01:19:49 -0700 Subject: [PATCH 1/2] Add support for python-lsp-server pyls-isort plugin. --- clients/lsp-pylsp.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clients/lsp-pylsp.el b/clients/lsp-pylsp.el index a776029d1c..008b8a8636 100644 --- a/clients/lsp-pylsp.el +++ b/clients/lsp-pylsp.el @@ -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." @@ -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) From 19a56abb5d821a101660184867646de69b6a96a1 Mon Sep 17 00:00:00 2001 From: Anthony Mendez <738092+0x6d6e647a@users.noreply.github.com> Date: Tue, 5 Sep 2023 02:14:23 -0700 Subject: [PATCH 2/2] Spelling fix. --- clients/lsp-pylsp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/lsp-pylsp.el b/clients/lsp-pylsp.el index 008b8a8636..9441ee8a17 100644 --- a/clients/lsp-pylsp.el +++ b/clients/lsp-pylsp.el @@ -260,7 +260,7 @@ Drastically increases startup time." :group 'lsp-pylsp) (defcustom lsp-pylsp-plugins-isort-enabled nil - "Enable of disable the plugin." + "Enable or disable the plugin." :type 'boolean :group 'lsp-pylsp)