# Use stricter inlay range checks to avoid stuck highlights · gitcafe/zed

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

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

Visibility: public

Requested revision: 0a18aa694f13f8cb0f5b3c015f317cb6c03d5dfe

Requested commit: 0a18aa694f13f8cb0f5b3c015f317cb6c03d5dfe

Commit: 0a18aa694f13f8cb0f5b3c015f317cb6c03d5dfe

Tree: 40dc8bbc1ea822b2b9264389908e99d522c7727d

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
Use stricter inlay range checks to avoid stuck highlights

Often, hint ranges are separated by a single '<` char as in
`Option<Vec<u32>>`. When moving the caret from left to right, avoid
inclusive ranges to faster update the matching hint underline.

```

## Parents

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

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