# vim: Combine match arms in \`Mode::is_visual\` \(\#25675\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c53020ceafd33c63ee67e180505fa51124d1cba7

Requested commit: c53020ceafd33c63ee67e180505fa51124d1cba7

Commit: c53020ceafd33c63ee67e180505fa51124d1cba7

Tree: a520e933382ce830bb3f194ae4ed41ffee42e405

Author: Marshall Bowers

Committer: GitHub

## Message

```
vim: Combine match arms in `Mode::is_visual` (#25675)

This PR refactors the `Mode::is_visual` implementation to combine some
of the `match` arms.

Release Notes:

- N/A
```

## Parents

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

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