Simplify the `eglot-workspace-configuration' settings
This commit is contained in:
parent
8b84f17940
commit
ae2c0fd48e
@ -1788,10 +1788,8 @@ variables]] file.
|
|||||||
(add-to-list 'eglot-server-programs '(python-mode "pylsp"))
|
(add-to-list 'eglot-server-programs '(python-mode "pylsp"))
|
||||||
(setq-default
|
(setq-default
|
||||||
eglot-workspace-configuration
|
eglot-workspace-configuration
|
||||||
`((:pylsp . (:plugins (:jedi_completion
|
'((:pylsp . (:plugins (:jedi_completion
|
||||||
(:cache_for ,(vconcat '("astropy"
|
(:cache_for ["astropy" "numpy" "scipy"]))))
|
||||||
"numpy"
|
|
||||||
"scipy"))))))
|
|
||||||
(:pylsp . (:plugins (:jedi_completion (:eager nil)))))))
|
(:pylsp . (:plugins (:jedi_completion (:eager nil)))))))
|
||||||
|
|
||||||
(when (fboundp 'eglot-ensure)
|
(when (fboundp 'eglot-ensure)
|
||||||
|
Loading…
Reference in New Issue
Block a user