# ruby: Fix solargraph completion highlighting \(\#11825\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 43be375c76821eedea9e4800a587a0e1979972b2

Requested commit: 43be375c76821eedea9e4800a587a0e1979972b2

Commit: 43be375c76821eedea9e4800a587a0e1979972b2

Tree: 539fb267ecbf1201c7f7a96b7a66d6a36e67be26

Author: Vitaly Slobodin

Committer: GitHub

## Message

```
ruby: Fix solargraph completion highlighting (#11825)

Hi. This pull request fixes a small error with `solargraph` completions
to make them more detailed. It removes the nested match expression to
resolve the problem with highlighting the completion items and their
signatures with the return type as well. Thanks.

See screenshots below.

Release Notes:

- N/A

| Before  | After |
| ------------- | ------------- |
| ![CleanShot 2024-05-14 at 23 23
00@2x](https://github.com/zed-industries/zed/assets/1894248/4ea1fa41-1189-4607-8aea-547c27229a18)
| ![CleanShot 2024-05-14 at 23 29
30@2x](https://github.com/zed-industries/zed/assets/1894248/3c7be39a-2c7b-4662-8519-8c258c049cfa)
|
```

## Parents

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

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