Skip to content

Add Eglot setup guide for Emacs editor - #12426

Merged
dhruvmanila merged 3 commits into
astral-sh:mainfrom
foxmean:main
Jul 23, 2024
Merged

Add Eglot setup guide for Emacs editor#12426
dhruvmanila merged 3 commits into
astral-sh:mainfrom
foxmean:main

Conversation

@foxmean

@foxmean foxmean commented Jul 21, 2024

Copy link
Copy Markdown
Contributor

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.

@dhruvmanila dhruvmanila left a comment

Copy link
Copy Markdown
Member

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
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