From cdce9156bba186f07c56c0d38ea5946f68589b66 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Thu, 25 Jul 2024 19:26:49 +0530 Subject: [PATCH] Add note about the breaking change in `nvim-lspconfig` --- docs/editors/setup.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/editors/setup.md b/docs/editors/setup.md index ed3b9fcd3d897..6048b688441be 100644 --- a/docs/editors/setup.md +++ b/docs/editors/setup.md @@ -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):