mason-org / mason-registry

Core registry for mason.nvim.
https://mason-registry.dev/registry/list
Apache License 2.0
147 stars 328 forks source link

Adds new lsp for ruff #7203

Open guyzmo opened 3 weeks ago

guyzmo commented 3 weeks ago

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 commented 2 weeks ago

This is already supported by just installing ruff from Mason

Conarius commented 2 weeks ago

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

mehalter commented 2 weeks ago

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