Remove python-lsp-ruff config from eglot
This commit is contained in:
parent
9944bc799d
commit
37134ceccd
14
README.org
14
README.org
|
@ -788,7 +788,11 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
|||
("C-c c C-e" . eglot-reconnect)
|
||||
("C-c c a" . eglot-code-actions)
|
||||
("C-c c r" . eglot-rename))
|
||||
:hook (((nix-mode fortran-mode f90-mode lua-mode python-base-mode rust-ts-mode) . eglot-ensure)
|
||||
:hook (((nix-mode
|
||||
fortran-mode
|
||||
f90-mode
|
||||
python-base-mode
|
||||
rust-ts-mode) . eglot-ensure)
|
||||
(eglot-managed-mode . (lambda () (add-to-list 'flymake-diagnostic-functions #'eglot-flymake-backend))))
|
||||
:custom
|
||||
(eglot-extend-to-xref t)
|
||||
|
@ -812,13 +816,7 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
|||
:cargo ( :buildScripts (:enable t)
|
||||
:features "all")))))
|
||||
(add-to-list 'eglot-server-programs
|
||||
`((python-ts-mode python-mode)
|
||||
. ("pylsp"
|
||||
:initializationOptions
|
||||
( :pylsp
|
||||
( :plugins
|
||||
( :ruff ( :enabled t
|
||||
:extendSelect ["I" "W" "C901"]))))))))
|
||||
`((python-ts-mode python-mode) . ("pylsp"))))
|
||||
#+end_src
|
||||
|
||||
** Apheleia formatting
|
||||
|
|
Loading…
Reference in a new issue