Skip to content

Commit

Permalink
Add additional custom variables for pylsp (#4481)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainij committed Jun 28, 2024
1 parent c7020ae commit b196d38
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions clients/lsp-pylsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,16 @@ Drastically increases startup time."
:type 'boolean
:group 'lsp-pylsp)

(defcustom lsp-pylsp-plugins-rope-autoimport-completions-enabled nil
"Enable or disable completions from rope-autoimport."
:type 'boolean
:group 'lsp-pylsp)

(defcustom lsp-pylsp-plugins-rope-autoimport-code-actions-enabled nil
"Enable or disable code actions from rope-autoimport."
:type 'boolean
:group 'lsp-pylsp)

(defcustom lsp-pylsp-plugins-rope-completion-enabled nil
"Enable or disable the plugin."
:type 'boolean
Expand Down Expand Up @@ -583,6 +593,8 @@ So it will rename only references it can find."
("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_autoimport.completions.enabled" lsp-pylsp-plugins-rope-autoimport-completions-enabled t)
("pylsp.plugins.rope_autoimport.code_actions.enabled" lsp-pylsp-plugins-rope-autoimport-code-actions-enabled 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)
Expand Down

0 comments on commit b196d38

Please sign in to comment.