Merge pull request #10296 from picnoir/pic/doc-lsp

Doc: explicitly specify which shell to use to get clangd
This commit is contained in:
Théophane Hufschmitt 2024-03-23 08:46:13 +01:00 committed by GitHub
commit 38ba96d7b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -261,7 +261,7 @@ To use the LSP with your editor, you first need to [set up `clangd`](https://cla
make compile_commands.json make compile_commands.json
``` ```
Configure your editor to use the `clangd` from the shell, either by running it inside the development shell, or by using [nix-direnv](https://github.com/nix-community/nix-direnv) and [the appropriate editor plugin](https://github.com/direnv/direnv/wiki#editor-integration). Configure your editor to use the `clangd` from the `.#native-clangStdenvPackages` shell. You can do that either by running it inside the development shell, or by using [nix-direnv](https://github.com/nix-community/nix-direnv) and [the appropriate editor plugin](https://github.com/direnv/direnv/wiki#editor-integration).
> **Note** > **Note**
> >