Skip to content

Commit

Permalink
Expand note to use Ruff with other language server in Kate (#12806)
Browse files Browse the repository at this point in the history
## 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 <dhruvmanila@gmail.com>
  • Loading branch information
tfardet and dhruvmanila committed Aug 20, 2024
1 parent 1a8f29e commit fc811f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/editors/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fc811f5

Please sign in to comment.