Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lsp-pyls.el
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,13 @@ dot."
:group 'lsp-pyls
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-pyls-plugins-yapf-enabled t
(defcustom lsp-pyls-plugins-autopep8-enabled t
"Enable or disable the plugin."
:type 'boolean
:group 'lsp-pyls
:package-version '(lsp-mode . "6.2"))

(defcustom lsp-pyls-plugins-yapf-enabled nil
"Enable or disable the plugin."
:type 'boolean
:group 'lsp-pyls
Expand Down Expand Up @@ -350,6 +356,7 @@ parameters referenced in config."
(lsp-register-custom-settings
'(("pyls.rope.ropeFolder" lsp-pyls-rope-rope-folder)
("pyls.rope.extensionModules" lsp-pyls-rope-extension-modules)
("pyls.plugins.autopep8.enabled" lsp-pyls-plugins-autopep8-enabled t)
("pyls.plugins.yapf.enabled" lsp-pyls-plugins-yapf-enabled t)
("pyls.plugins.rope_completion.enabled" lsp-pyls-plugins-rope-completion-enabled t)
("pyls.plugins.pyflakes.enabled" lsp-pyls-plugins-pyflakes-enabled t)
Expand Down