Skip to content

Commit

Permalink
Add note about the breaking change in nvim-lspconfig (#12507)
Browse files Browse the repository at this point in the history
Refer #12408
  • Loading branch information
dhruvmanila committed Jul 25, 2024
1 parent 6bbb4a2 commit c03f257
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/editors/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down

0 comments on commit c03f257

Please sign in to comment.