mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:10 +00:00
Add note about the breaking change in nvim-lspconfig
(#12507)
Refer https://github.com/astral-sh/ruff/issues/12408
This commit is contained in:
parent
6bbb4a28c2
commit
c03f257ed7
1 changed files with 5 additions and 0 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue