diff --git a/skills/lsp-setup/references/lsp-servers.md b/skills/lsp-setup/references/lsp-servers.md index 44caa696..279311ba 100644 --- a/skills/lsp-setup/references/lsp-servers.md +++ b/skills/lsp-setup/references/lsp-servers.md @@ -71,38 +71,17 @@ On macOS with Homebrew, the binary is installed as `jdtls` on `$PATH`. ## Python -**Server**: [pylsp (python-lsp-server)](https://github.com/python-lsp/python-lsp-server) +**Server**: [pyright](https://github.com/microsoft/pyright) ### Install -| OS | Command | -|---------|----------------------------------------| -| Any | `pip install python-lsp-server` | -| macOS | `brew install python-lsp-server` | +| OS | Command | +|---------|----------------------------| +| Any | `npm install -g pyright` | +| Any | `pip install pyright` | ### Config snippet -```json -{ - "python": { - "command": "pylsp", - "args": [], - "fileExtensions": { - ".py": "python" - } - } -} -``` - -### Alternative: Pyright - -**Server**: [pyright](https://github.com/microsoft/pyright) (via [basedpyright](https://github.com/DetachHead/basedpyright) or [pyright](https://www.npmjs.com/package/pyright)) - -| OS | Command | -|---------|----------------------------------------------------| -| Any | `npm install -g pyright` | -| Any | `pip install basedpyright` (for basedpyright fork) | - ```json { "python": {