From a000a83efe0b509319034ac90af9a3a95f1e777c Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Thu, 9 Apr 2026 14:14:43 -0400 Subject: [PATCH] Use pyright as single Python LSP recommendation Replace pylsp primary + pyright alternative with a single pyright recommendation for Python. Go already correctly recommends gopls. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- skills/lsp-setup/references/lsp-servers.md | 31 ++++------------------ 1 file changed, 5 insertions(+), 26 deletions(-) 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": {