# Ignore empty hover contents, trim final hover label text \(\#2747\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 91ba80ae98e5dd9766bad7d20519c8917681848c

Requested commit: 91ba80ae98e5dd9766bad7d20519c8917681848c

Commit: 91ba80ae98e5dd9766bad7d20519c8917681848c

Tree: e547769cdef289ae7b819642975f6612d572bc59

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Ignore empty hover contents, trim final hover label text (#2747)

Removes empty hovers from appearing:

![image](https://github.com/zed-industries/zed/assets/2690773/b8a8af17-e20f-4d87-8782-465dfbf9b561)

And trims final hover label to ensure no trailing whitespaces are
present:

![image](https://github.com/zed-industries/zed/assets/2690773/24aeb0f0-d4f0-4e2b-9265-53694bfec437)


Release Notes:

- Tidies up hover elements by trimming them and removing the empty ones 
```

## Parents

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

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

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