mirror of https://gitlab.com/baco/dotconf.git
feat(LSP): Delete unnecessary settings
Third-party installed plugins are enabled by default, hence there is no need to explicitly enable it. Ruff plugin doesn't come with standard PyLSP, and is one (along with pylsp-mypy) of the manually added plugins.
This commit is contained in:
parent
d89fbb2f40
commit
fe8b7b0238
|
@ -16,8 +16,7 @@
|
|||
(add-hook 'prog-mode-hook 'eglot-ensure) ; Requires LSP servers in PATH
|
||||
(setq-default eglot-workspace-configuration
|
||||
'(:pylsp (:configurationSources ["flake8"]
|
||||
:plugins (:ruff (:enabled t)
|
||||
:flake8 (:enabled t)
|
||||
:plugins (:flake8 (:enabled t)
|
||||
:pylint (:enabled t
|
||||
:executable "pylint")
|
||||
:pylsp_mypy (:overrides [t "--no-pretty"])
|
||||
|
|
|
@ -27,7 +27,6 @@ end)
|
|||
local pylsp_settings = {
|
||||
configurationSources = { "flake8" }, -- tool's config files to override settings from
|
||||
plugins = {
|
||||
ruff = { enabled = true }, -- Settings come from $XDG_CONFIG_HOME/ruff/ruff.toml
|
||||
flake8 = { enabled = true },
|
||||
pylint = { enabled = true },
|
||||
pylsp_mypy = { overrides = { true, "--no-pretty" } },
|
||||
|
|
Loading…
Reference in New Issue