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

ruff server add setup guide for helix editor #11027

Closed
bluthej opened this issue Apr 19, 2024 · 0 comments · Fixed by #11183
Closed

ruff server add setup guide for helix editor #11027

bluthej opened this issue Apr 19, 2024 · 0 comments · Fixed by #11183
Assignees
Labels
documentation Improvements or additions to documentation server Related to the LSP server

Comments

@bluthej
Copy link
Contributor

bluthej commented Apr 19, 2024

I'm very excited about the new Ruff LSP, and I would like to try it out in Helix, my editor of choice :)

I did not have a ton of time to look at the config yet but I started playing around with it and I believe the config should start with something like this:

[language-server.ruff]
command = "ruff"
args = ["server", "--preview"]

Then the language server should be added alongside whatever other server you like to use (guess which one I use):

[[language]]
name = "python"
language-servers = ["ruff", "pylsp"]

I haven't really had a ton of success for now with server-specific configs (like the ones in the neovim setup), so a dedicated setup guide would be much appreciated :)
Or really any pointer on the setup!

@MichaReiser MichaReiser added the server Related to the LSP server label Apr 19, 2024
@dhruvmanila dhruvmanila added the documentation Improvements or additions to documentation label Apr 19, 2024
@snowsignal snowsignal self-assigned this Apr 19, 2024
@snowsignal snowsignal added this to the Ruff Server: Beta milestone Apr 19, 2024
snowsignal added a commit that referenced this issue Apr 30, 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 server Related to the LSP server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants