keymap_ui: Support unbinding non-user defined keybindings (#34318)

Closes #ISSUE

Makes it so that `KeymapFile::update_keybinding` treats removals of
bindings that weren't user-defined as creating a new binding to
`zed::NoAction`.


Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle 2025-07-11 16:23:14 -05:00 committed by GitHub
parent c3edc2cfc1
commit 206cce6783
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 73 additions and 47 deletions

1
Cargo.lock generated
View file

@ -14677,6 +14677,7 @@ dependencies = [
"schemars",
"search",
"serde",
"serde_json",
"settings",
"theme",
"tree-sitter-json",