mirror of https://github.com/astral-sh/ruff
871 B
871 B
Kate Setup Guide for ruff server
- Activate the LSP Client plugin.
- Setup LSP Client as desired.
- Finally, add this to
Settings->Configure Kate->LSP Client->User Server Settings:
{
"servers": {
"python": {
"command": ["ruff", "server", "--preview"],
"url": "https://github.com/astral-sh/ruff",
"highlightingModeRegex": "^Python$",
"settings": {}
}
}
}
See LSP Client documentation for more details on how to configure the server from there.
!IMPORTANTKate's LSP Client plugin does not support multiple servers for the same language.