Skip to content

Commit a000a83

Browse files
brunoborgesCopilot
andcommitted
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>
1 parent 767e165 commit a000a83

1 file changed

Lines changed: 5 additions & 26 deletions

File tree

skills/lsp-setup/references/lsp-servers.md

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -71,38 +71,17 @@ On macOS with Homebrew, the binary is installed as `jdtls` on `$PATH`.
7171

7272
## Python
7373

74-
**Server**: [pylsp (python-lsp-server)](https://github.com/python-lsp/python-lsp-server)
74+
**Server**: [pyright](https://github.com/microsoft/pyright)
7575

7676
### Install
7777

78-
| OS | Command |
79-
|---------|----------------------------------------|
80-
| Any | `pip install python-lsp-server` |
81-
| macOS | `brew install python-lsp-server` |
78+
| OS | Command |
79+
|---------|----------------------------|
80+
| Any | `npm install -g pyright` |
81+
| Any | `pip install pyright` |
8282

8383
### Config snippet
8484

85-
```json
86-
{
87-
"python": {
88-
"command": "pylsp",
89-
"args": [],
90-
"fileExtensions": {
91-
".py": "python"
92-
}
93-
}
94-
}
95-
```
96-
97-
### Alternative: Pyright
98-
99-
**Server**: [pyright](https://github.com/microsoft/pyright) (via [basedpyright](https://github.com/DetachHead/basedpyright) or [pyright](https://www.npmjs.com/package/pyright))
100-
101-
| OS | Command |
102-
|---------|----------------------------------------------------|
103-
| Any | `npm install -g pyright` |
104-
| Any | `pip install basedpyright` (for basedpyright fork) |
105-
10685
```json
10786
{
10887
"python": {

0 commit comments

Comments
 (0)