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

Adds new lsp for ruff #7203

Open
guyzmo opened this issue Sep 13, 2024 · 3 comments
Open

Adds new lsp for ruff #7203

guyzmo opened this issue Sep 13, 2024 · 3 comments

Comments

@guyzmo
Copy link

guyzmo commented Sep 13, 2024

2 months ago was released ruff server a new LSP integration replacing ruff lsp already included with ruff.

The new implementation has breaking changes (the configuration options are not the same, so I guess it should be a new third option compared to ruff-lsp and ruff that could be called ruff-server.

I've considered making a PR to add this, but I got one question, how can I indicate that the implementation's binary should be called through a parameter: ruff server?

@mehalter
Copy link
Contributor

This is already supported by just installing ruff from Mason

@Conarius
Copy link
Contributor

Yeah, it just would need some adjustment in neovim/nvim-lspconfig to support that.

@mehalter
Copy link
Contributor

As someone who uses the ruff package in Mason for LSP support, it doesn't require any modifications :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants