From 37134ceccd30a377573b89ec91aa0f31c9cfbbdc Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 9 Feb 2024 12:05:56 +0000 Subject: [PATCH] Remove python-lsp-ruff config from eglot --- README.org | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.org b/README.org index f988fe6..c565985 100644 --- a/README.org +++ b/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