# lsp: Add support for clangd's \`inactiveRegions\` extension \(\#26146\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/829ecda370226b21cf22d895732e1773c6838d40)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 829ecda370226b21cf22d895732e1773c6838d40

Requested commit: 829ecda370226b21cf22d895732e1773c6838d40

Commit: 829ecda370226b21cf22d895732e1773c6838d40

Tree: 33b0cbf7bdaaea57fc6508c600a46e14eeaf8965

Author: Naim A\.

Committer: GitHub

## Message

```
lsp: Add support for clangd's `inactiveRegions` extension (#26146)

Closes #13089 

Here we use `experimental` to advertise our support for
`inactiveRegions`. Note that clangd does not currently have a stable
release that reads the `experimental` object (PR
https://github.com/llvm/llvm-project/pull/116531), this can be tested
with one of clangd's recent "unstable snapshots" in their
[releases](https://github.com/clangd/clangd/releases).

Release Notes:

- Added support for clangd's `inactiveRegions` extension.

![Screen Recording 2025-03-05 at 22 39
58](https://github.com/user-attachments/assets/ceade8bd-4d8e-43c3-9520-ad44efa50d2f)

---------

Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Kirill Bulatov <kirill@zed.dev>
```

## Parents

- [af5af9d7c5ac6e93477ce23e46a3702d01dede94](https://git.cafe/gitcafe/zed/commit/af5af9d7c5ac6e93477ce23e46a3702d01dede94?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/829ecda370226b21cf22d895732e1773c6838d40?format=markdown)
