diff --git a/clients/lsp-pylsp.el b/clients/lsp-pylsp.el index 565d560018..a776029d1c 100644 --- a/clients/lsp-pylsp.el +++ b/clients/lsp-pylsp.el @@ -222,11 +222,28 @@ dot." :type 'boolean :group 'lsp-pylsp) +(defcustom lsp-pylsp-plugins-rope-autoimport-enabled nil + "Enable or disable the plugin." + :type 'boolean + :group 'lsp-pylsp) + +(defcustom lsp-pylsp-plugins-rope-autoimport-memory nil + "Make the autoimport database memory only. + +Drastically increases startup time." + :type 'boolean + :group 'lsp-pylsp) + (defcustom lsp-pylsp-plugins-rope-completion-enabled nil "Enable or disable the plugin." :type 'boolean :group 'lsp-pylsp) +(defcustom lsp-pylsp-plugins-rope-completion-eager nil + "Resolve documentation and detail eagerly." + :type 'boolean + :group 'lsp-pylsp) + (defcustom lsp-pylsp-plugins-autopep8-enabled nil "Enable or disable the plugin." :type 'boolean @@ -376,7 +393,10 @@ 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.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) + ("pylsp.plugins.rope_completion.eager" lsp-pylsp-plugins-rope-completion-eager t) ("pylsp.plugins.pyflakes.enabled" lsp-pylsp-plugins-pyflakes-enabled t) ("pylsp.plugins.pydocstyle.matchDir" lsp-pylsp-plugins-pydocstyle-match-dir) ("pylsp.plugins.pydocstyle.match" lsp-pylsp-plugins-pydocstyle-match)