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
c53020ceafMarshall Bowers committed on 2/26/2025, 7:45:04 PM· committed by GitHubparenteeac1a9
1 file changedLine totals unavailable