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 C-e" . eglot-reconnect)
|
||||||
("C-c c a" . eglot-code-actions)
|
("C-c c a" . eglot-code-actions)
|
||||||
("C-c c r" . eglot-rename))
|
("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))))
|
(eglot-managed-mode . (lambda () (add-to-list 'flymake-diagnostic-functions #'eglot-flymake-backend))))
|
||||||
:custom
|
:custom
|
||||||
(eglot-extend-to-xref t)
|
(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)
|
:cargo ( :buildScripts (:enable t)
|
||||||
: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) . ("pylsp"))))
|
||||||
. ("pylsp"
|
|
||||||
:initializationOptions
|
|
||||||
( :pylsp
|
|
||||||
( :plugins
|
|
||||||
( :ruff ( :enabled t
|
|
||||||
:extendSelect ["I" "W" "C901"]))))))))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Apheleia formatting
|
** Apheleia formatting
|
||||||
|
|
Loading…
Reference in a new issue