eglot: change config back to pylsp
This commit is contained in:
parent
cffcdccb1c
commit
20667bf228
|
@ -805,11 +805,12 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
:features "all")))))
|
:features "all")))))
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
`((python-ts-mode python-mode)
|
`((python-ts-mode python-mode)
|
||||||
. ("jedi-language-server"
|
. ("pylsp"
|
||||||
:initializationOptions
|
:initializationOptions
|
||||||
( :diagnostics ( :enable nil)
|
( :pylsp
|
||||||
:hover ( :enable t)
|
( :plugins
|
||||||
:jediSettings ( :autoImportModules ["numpy"]))))))
|
( :ruff ( :enabled t
|
||||||
|
:extendSelect ["I" "W" "C901"]))))))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Apheleia formatting
|
** Apheleia formatting
|
||||||
|
|
Loading…
Reference in a new issue