Skip to content

Use ty in Emacs with Eglot#3107

Merged
ntBre merged 2 commits into
astral-sh:mainfrom
torusJKL:ty-with-emacs-eglot
Mar 23, 2026
Merged

Use ty in Emacs with Eglot#3107
ntBre merged 2 commits into
astral-sh:mainfrom
torusJKL:ty-with-emacs-eglot

Conversation

@torusJKL

Copy link
Copy Markdown
Contributor

Summary

Add instructions on how to use ty with Emacs to the editors documentation page.

Test Plan

N/A

@AlexWaygood AlexWaygood added the documentation Improvements or additions to documentation label Mar 22, 2026
@dhruvmanila dhruvmanila requested a review from ntBre March 23, 2026 05:36
Comment thread docs/editors.md Outdated
@torusJKL torusJKL force-pushed the ty-with-emacs-eglot branch from b014554 to 6763d22 Compare March 23, 2026 15:01

@ntBre ntBre left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you!

@ntBre ntBre enabled auto-merge (squash) March 23, 2026 16:09
Add information about using ty with Eglot in Emacs.
@ntBre ntBre merged commit 9e46432 into astral-sh:main Mar 23, 2026
13 checks passed
@torusJKL torusJKL deleted the ty-with-emacs-eglot branch March 23, 2026 16:46
@torusJKL

Copy link
Copy Markdown
Contributor Author

Thanks for the review and merge!

dhruvmanila added a commit that referenced this pull request May 25, 2026
## Summary

Adds a short note to the Emacs section of the editor integration docs
explaining how Flycheck users can route ty's diagnostics through the
[flycheck-eglot](https://github.com/flycheck/flycheck-eglot) bridge.

The current Eglot snippet (added in #3107) covers the simple case, but
the original request in #2902 specifically asked about Flycheck-based
setups. This adds the minimal additional snippet for that path without
changing the existing recommended setup. Modeled on the multi-subsection
layout used by Ruff's [Emacs
docs](https://docs.astral.sh/ruff/editors/setup/#emacs).

Refs #2902.

## Test Plan

- `mdformat docs/editors.md --check` passes
- `markdownlint-cli@0.48.0 docs/editors.md` passes
- Verified `flycheck/flycheck-eglot` is the official upstream package

---------

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants