# Do not show completion documentation if disabled \(\#7372\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 87d3f5951529fd41aaabadad8c8aeaddd33422ec

Requested commit: 87d3f5951529fd41aaabadad8c8aeaddd33422ec

Commit: 87d3f5951529fd41aaabadad8c8aeaddd33422ec

Tree: 6741b186a9fd637894b6edc10db9f8e08226fd6e

Author: Thorsten Ball

Committer: GitHub

## Message

```
Do not show completion documentation if disabled (#7372)

This fixes #7348 by not rendering completions if they are disabled in
the settings. Previously we only checked that setting when starting or
not starting background threads to fetch documentation. But in case we
already have documentation, this stops it from being rendered.

Release Notes:

- Fixed documentation in completions showing up even when disabled via
`show_completion_documentation`
([#7348](https://github.com/zed-industries/zed/issues/7348))
```

## Parents

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

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