gpui: Prevent the same action name from being registered multiple times (#33359)

Also removes duplicate `editor::RevertFile` and `vim::HelixDelete`
actions

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-06-26 00:24:14 -06:00 committed by GitHub
parent d09c7eb317
commit 90c893747c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 22 additions and 32 deletions

View file

@ -432,7 +432,7 @@ mod tests {
actions!(
test_only,
[
A, B, C, D, E, F, G, // Don't wrap, test the trailing comma
H, I, J, K, L, M, N, // Don't wrap, test the trailing comma
]
);
}