From fc811f51687e4ca587888e5e4f0bc6db1840bb0b Mon Sep 17 00:00:00 2001 From: tfardet <79037344+tfardet@users.noreply.github.com> Date: Tue, 20 Aug 2024 08:18:31 +0200 Subject: [PATCH] Expand note to use Ruff with other language server in Kate (#12806) ## Summary Provide instructions to use Ruff together with other servers in the Kate editor. Because Kate does not support running multiple servers for the same language, one needs to use the ``python-lsp-server`` (pylsp) tool. --------- Co-authored-by: Dhruv Manilawala --- docs/editors/setup.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/editors/setup.md b/docs/editors/setup.md index f554dcb1e05f3..b09d35a4c566a 100644 --- a/docs/editors/setup.md +++ b/docs/editors/setup.md @@ -310,7 +310,12 @@ See [LSP Client documentation](https://docs.kde.org/stable5/en/kate/kate/kate-ap on how to configure the server from there. !!! important - Kate's LSP Client plugin does not support multiple servers for the same language. + Kate's LSP Client plugin does not support multiple servers for the same language. As a + workaround, you can use the [`python-lsp-server`](https://github.com/python-lsp/python-lsp-server) + along with the [`python-lsp-ruff`](https://github.com/python-lsp/python-lsp-ruff) plugin to + use Ruff alongside another language server. Note that this setup won't use the [server settings](settings.md) + because the [`python-lsp-ruff`](https://github.com/python-lsp/python-lsp-ruff) plugin uses the + `ruff` executable and not the language server. ## Sublime Text