vim: Fix exchange showing ccx in pending keys (#28303)

|Before|After|
|--|--|

|![image](https://github.com/user-attachments/assets/cac97981-518e-46d2-8540-a22496bc948e)|![image](https://github.com/user-attachments/assets/5158b17f-d14e-42a2-8a94-ad98d1b1c33c)|

Changes:
Add vim exchange to the clear stack

Release Notes:

- N/A
This commit is contained in:
5brian 2025-04-08 11:03:24 -04:00 committed by GitHub
parent 97abf21a28
commit 4f936d8100
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -868,6 +868,7 @@ impl Vim {
Operator::AddSurrounds { .. }
| Operator::ChangeSurrounds { .. }
| Operator::DeleteSurrounds
| Operator::Exchange
) {
self.operator_stack.clear();
};