eglot: pylsp enable extra error codes for ruff
This commit is contained in:
parent
c186f7d3ad
commit
9e517b90a8
|
@ -795,7 +795,13 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
|||
( :check (:command "clippy")
|
||||
:procMacro (:enable t)
|
||||
:cargo ( :buildScripts (:enable t)
|
||||
:features "all"))))))
|
||||
:features "all")))))
|
||||
(add-to-list 'eglot-server-programs
|
||||
`((python-ts-mode python-mode)
|
||||
. ("pylsp"
|
||||
:initializationOptions
|
||||
( :pylsp ( :plugins ( :ruff ( :enabled t
|
||||
:extendSelect ["I" "W" "C901"]))))))))
|
||||
#+end_src
|
||||
|
||||
** Apheleia formatting
|
||||
|
|
Loading…
Reference in a new issue