python-lsp/python-lsp-ruff

what does it bring vs vim.lsp.enable('ruff')

Closed this issue · 2 comments

One can just vim.lsp.enable('ruff') to levarage built in ruff LSP. What this bring to use this package ? (I already use pylsp)

I believe it is almost feature-identical. For formatting, you can choose any fixable error code to be included in the format in addition to ruff format, but otherwise they should provide the same functions.
That being said, AFAIK I created python-lsp-ruff when ruff-lsp did not yet exist.

You could mention it in the readme.md, as it'd be simpler for people to just dorp a one liner than installing a pip package