Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/editors.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,30 @@ vim.lsp.config('ty', {
vim.lsp.enable('ty')
```

## Zed

ty is included with Zed out of the box (no extension required), although the default primary LSP for Python is basedpyright.

You can enable ty and disable basedpyright by adding this to your `settings.json` file:

```json
{
"languages": {
"Python": {
"language_servers": [
// Disable basedpyright and enable Ty, and otherwise
Copy link
Contributor Author

@LoicRiegel LoicRiegel Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that comments inside JSON code blocks were used in ruff's doc, so I guess it's okay, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's fine

// use the default configuration.
"ty",
"!basedpyright",
"..."
]
}
}
}
```

More information in [Zed's documentation](https://zed.dev/docs/languages/python#configure-python-language-servers-in-zed).

## Other editors

ty can be used with any editor that supports the [language server
Expand Down