Add note about the breaking change in nvim-lspconfig (#12507)

Refer https://github.com/astral-sh/ruff/issues/12408
This commit is contained in:
Dhruv Manilawala 2024-07-25 19:31:16 +05:30 committed by GitHub
parent 6bbb4a28c2
commit c03f257ed7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,6 +44,11 @@ require('lspconfig').ruff.setup({
})
```
!!! note
If the installed version of `nvim-lspconfig` includes the changes from
[neovim/nvim-lspconfig@`70d1c2c`](https://github.com/neovim/nvim-lspconfig/commit/70d1c2c31a88af4b36019dc1551be16bffb8f9db),
you will need to use Ruff version `0.5.3` or later.
If you're using Ruff alongside another language server (like Pyright), you may want to defer to that
language server for certain capabilities, like [`textDocument/hover`](./features.md#hover):