Skip to content

Commit

Permalink
pylsp: add missing rope-related configuration options (#4119)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkulev authored Aug 1, 2023
1 parent 7d6e3af commit 2346840
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions clients/lsp-pylsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2346840

Please sign in to comment.