From 4c5213a194fb026bccd106d260deea2d41d69308 Mon Sep 17 00:00:00 2001 From: Michael Hoess Date: Fri, 8 Mar 2024 17:08:51 +0000 Subject: [PATCH] helix/languages.toml aktualisiert Add pylsp, since ruff does not replace this part --- helix/languages.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helix/languages.toml b/helix/languages.toml index bfd025c..32c9b10 100644 --- a/helix/languages.toml +++ b/helix/languages.toml @@ -7,17 +7,18 @@ # Python3-LSP: # ----------- -# python3 -m pip install ruff-lsp black --break-system-packages +# python3 -m pip install ruff-lsp python-lsp_server black --break-system-packages # in CMK: # cd ~/local/bin # ln -s ~/local/lib/python3/bin/ruff* . +# ln -s ~/local/bin/pylsp . # # This combo also notifies on unused vars etc. [language-server.ruff-lsp] command = "ruff-lsp" [[language]] name = "python" -language-servers = [ "ruff-lsp" ] +language-servers = [ "ruff-lsp", "pylsp" ] # In case you'd like to use ruff alongside black for code formatting: formatter = { command = "black", args = ["--quiet", "-"] }