Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Eglot setup guide for Emacs editor #12426

Merged
merged 3 commits into from
Jul 23, 2024
Merged

Conversation

foxmean
Copy link
Contributor

@foxmean foxmean commented Jul 21, 2024

Summary

The purpose of this change is to explain how to use ruff as a language server in Eglot with automatic formatting because I've struggle to use it with Eglot. I've search it online and found that there are some people also struggle too. (See this reddit post and astral-sh/ruff-lsp#19 (comment))

Test Plan

I've use this setting myself. And I will continue maintain this part as long as I use it.

Copy link
Member

@dhruvmanila dhruvmanila left a comment

Choose a reason for hiding this comment

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

Thanks! I've made a minor edit but otherwise looks good to go.

@dhruvmanila dhruvmanila added the documentation Improvements or additions to documentation label Jul 22, 2024
@dhruvmanila dhruvmanila changed the title Add Eglot setup in the document. Add Eglot setup for Emacs editor Jul 22, 2024
@dhruvmanila dhruvmanila changed the title Add Eglot setup for Emacs editor Add Eglot setup guide for Emacs editor Jul 22, 2024
@dhruvmanila dhruvmanila merged commit a9f8bd5 into astral-sh:main Jul 23, 2024
19 checks passed
This pull request was closed.
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.

2 participants