Simplify the `eglot-workspace-configuration' settings

This commit is contained in:
Gerard Vermeulen 2021-12-30 09:24:19 +01:00
parent 8b84f17940
commit ae2c0fd48e

View File

@ -1788,10 +1788,8 @@ variables]] file.
(add-to-list 'eglot-server-programs '(python-mode "pylsp"))
(setq-default
eglot-workspace-configuration
`((:pylsp . (:plugins (:jedi_completion
(:cache_for ,(vconcat '("astropy"
"numpy"
"scipy"))))))
'((:pylsp . (:plugins (:jedi_completion
(:cache_for ["astropy" "numpy" "scipy"]))))
(:pylsp . (:plugins (:jedi_completion (:eager nil)))))))
(when (fboundp 'eglot-ensure)