# Show buffer_search on vim::MoveToNextMatch \(\#11836\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3cbac271171c0c456befafcce21cc24631afb3b0

Requested commit: 3cbac271171c0c456befafcce21cc24631afb3b0

Commit: 3cbac271171c0c456befafcce21cc24631afb3b0

Tree: 8c3a551c002103df6a9f9c46d4e9ea0fdc9e20c9

Author: Gus

Committer: GitHub

## Message

```
Show buffer_search on vim::MoveToNextMatch (#11836)

This changes the vim::MoveToNextMatch event callback to open the
buffer_search toolbar. This fixes an issue where highlights would appear
which were only cancellable by opening then closing the toolbar.

Release Notes:

- the buffer search toolbar now opens on vim::MoveToNextMatch fixing the
issue where highlights were not cancellable

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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